Skip to content

Commit febdd8d

Browse files
committed
feat: restore icons size in file-view
1 parent aa1c25c commit febdd8d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/components/Code/DirectoryListing.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const bytesFormatter = useBytesFormatter()
8282
no-underline
8383
>
8484
<svg
85-
class="w-4 h-4 me-1 shrink-0 text-yellow-600"
85+
class="size-[1em] me-1 shrink-0 text-yellow-600"
8686
viewBox="0 0 16 16"
8787
fill="currentColor"
8888
aria-hidden="true"
@@ -107,7 +107,7 @@ const bytesFormatter = useBytesFormatter()
107107
no-underline
108108
>
109109
<svg
110-
class="w-4 h-4 me-1 shrink-0"
110+
class="size-[1em] me-1 shrink-0"
111111
viewBox="0 0 16 16"
112112
fill="currentColor"
113113
:class="node.type === 'directory' ? 'text-yellow-600' : undefined"

app/components/Code/FileTree.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ watch(
5858
:classicon="isExpanded(node.path) ? 'i-carbon:chevron-down' : 'i-carbon:chevron-right'"
5959
>
6060
<svg
61-
class="w-4 h-4 me-1 shrink-0"
61+
class="size-[1em] me-1 shrink-0"
6262
:class="isExpanded(node.path) ? 'text-yellow-500' : 'text-yellow-600'"
6363
viewBox="0 0 16 16"
6464
fill="currentColor"
@@ -91,7 +91,7 @@ watch(
9191
:style="{ paddingLeft: `${depth * 12 + 32}px` }"
9292
>
9393
<svg
94-
class="w-4 h-4 me-1 shrink-0"
94+
class="size-[1em] me-1 shrink-0"
9595
viewBox="0 0 16 16"
9696
fill="currentColor"
9797
aria-hidden="true"

0 commit comments

Comments
 (0)