Skip to content

Commit 8507184

Browse files
committed
tweak styles
1 parent 4e7a8b2 commit 8507184

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

packages/app/src/specs/InlineSpecListTree.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
:file-name="row.data?.fileName || row.value"
3232
:extension="row.data?.specFileExtension || ''"
3333
:selected="isCurrentSpec(row.data)"
34-
class="ml-22px"
34+
class="pl-22px"
3535
/>
3636
<DirectoryItem
3737
v-else

packages/app/src/specs/RowDirectory.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<template>
22
<div
3-
class="h-full grid grid-cols-[16px,16px,auto] items-center gap-10px"
3+
class="h-full grid grid-cols-[14px,16px,auto] items-center gap-8px"
44
:data-cy="`row-directory-depth-${depth}`"
55
>
66
<i-cy-chevron-down-small_x16
77
class="
8-
icon-dark-gray-300 mr-8px
8+
icon-dark-gray-300 mr-8px text-sm
99
group-hocus:(icon-dark-gray-700)
1010
"
1111
:class="{'transform rotate-270': !expanded}"
1212
/>
1313
<component
1414
:is="IconFolder"
15-
class="icon-light-gray-50 icon-dark-gray-200 document-icon"
15+
class="icon-dark-gray-50 icon-light-gray-200 document-icon"
1616
/>
1717

1818
<div>
@@ -35,7 +35,7 @@
3535
</template>
3636

3737
<script lang="ts" setup>
38-
import IconFolder from '~icons/cy/folder-outline_x24.svg'
38+
import IconFolder from '~icons/cy/folder_x16.svg'
3939
4040
defineProps<{
4141
directories: string[]

packages/app/src/specs/SpecItem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div
3-
class="h-full grid grid-cols-[16px,auto,auto] items-center gap-10px"
3+
class="h-full grid grid-cols-[16px,auto,auto] items-center gap-8px"
44
data-cy="spec-item"
55
>
66
<component

packages/app/src/specs/SpecsList.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
>
6464
<SpecItem
6565
:spec="row.data"
66-
:style="{ paddingLeft: `${((row.depth - 2) * 20) + 16}px` }"
66+
:style="{ paddingLeft: `${((row.depth - 2) * 10) + 16 + 22}px` }"
6767
/>
6868
</RouterLink>
6969

@@ -72,7 +72,7 @@
7272
:directories="row.value.split('/')"
7373
:expanded="row.expanded.value"
7474
:depth="row.depth - 2"
75-
:style="{ paddingLeft: `${((row.depth - 2) * 20) + 16}px` }"
75+
:style="{ paddingLeft: `${((row.depth - 2) * 10) + 16}px` }"
7676
@click="row.toggle"
7777
/>
7878
</template>
Lines changed: 2 additions & 2 deletions
Loading

0 commit comments

Comments
 (0)