add styles for icons. fix icons alignment

pull/4446/head
Joseph Izang 10 months ago
parent d0598e2d73
commit 21533c1054
  1. 2
      libs/remix-ui/workspace/src/lib/components/flat-tree.tsx
  2. 12
      libs/remix-ui/workspace/src/lib/css/file-explorer.css

@ -215,7 +215,7 @@ export const FlatTree = (props: FlatTreeProps) => {
{file.name} {file.name}
</div> </div>
<div className="d-flex flex-row gap-1"> <div className="d-flex flex-row align-items-center">
<div> <div>
<FileHoverIcons file={file} /> <FileHoverIcons file={file} />
</div> {getFileStateIcons(file)} </div> {getFileStateIcons(file)}

@ -61,3 +61,15 @@ ul {
-webkit-user-select: text; -webkit-user-select: text;
user-select: text; user-select: text;
} }
.remixui_icons {
}
.remixui_icons:hover {
color: var(--text);
}
.remixui_icons_space {
margin-right: 8px;
}

Loading…
Cancel
Save