mirror of
https://github.com/silvanocerza/github-gitless-sync.git
synced 2026-07-22 12:10:28 +00:00
Adjust conflict files tabs
This commit is contained in:
parent
b8df463e66
commit
731920d5a1
1 changed files with 14 additions and 1 deletions
|
|
@ -16,13 +16,26 @@ const FilesTabBar: React.FC<FilesTabBarProps> = ({
|
|||
return (
|
||||
<div
|
||||
key={filePath}
|
||||
style={{
|
||||
maxWidth: "6rem",
|
||||
}}
|
||||
className={`workspace-tab-header tappable ${filePath === currentFile ? "is-active mod-active" : ""}`}
|
||||
aria-label={filePath}
|
||||
data-tooltip-delay="300"
|
||||
onClick={() => setCurrentFile(index)}
|
||||
>
|
||||
<div className="workspace-tab-header-inner">
|
||||
<div>{filePath}</div>
|
||||
<div
|
||||
style={{
|
||||
textOverflow: "ellipsis",
|
||||
overflow: "hidden",
|
||||
whiteSpace: "nowrap",
|
||||
direction: "rtl",
|
||||
textAlign: "center",
|
||||
}}
|
||||
>
|
||||
{filePath}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue