Skip to content

Commit 21533c1

Browse files
committed
add styles for icons. fix icons alignment
1 parent d0598e2 commit 21533c1

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

libs/remix-ui/workspace/src/lib/components/flat-tree.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ export const FlatTree = (props: FlatTreeProps) => {
215215
{file.name}
216216

217217
</div>
218-
<div className="d-flex flex-row gap-1">
218+
<div className="d-flex flex-row align-items-center">
219219
<div>
220220
<FileHoverIcons file={file} />
221221
</div> {getFileStateIcons(file)}

libs/remix-ui/workspace/src/lib/css/file-explorer.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,16 @@ ul {
6060
[contenteditable] {
6161
-webkit-user-select: text;
6262
user-select: text;
63-
}
63+
}
64+
65+
.remixui_icons {
66+
67+
}
68+
69+
.remixui_icons:hover {
70+
color: var(--text);
71+
}
72+
73+
.remixui_icons_space {
74+
margin-right: 8px;
75+
}

0 commit comments

Comments
 (0)