@setoelkahfi / svara / commits / 4e1065d

misc: removed redudent div

mellbacon committed May 24, 2023 at 12:55 UTC 4e1065d0cb808c7bcbe75c02336fdc30a1f8fac5
1 file changed +2 -2
src/lib/FileTree/FileTreeList.svelte
+2 -2
@@ -145,7 +145,7 @@
145 {#if icon}
146 <svelte:component this={icon} />
147 {/if}
148 - <div class="item-label">{name}</div>
148 + {name}
149 </div>
150 {#if expanded}
151 <ul role="group" bind:this={refChildren} data-id={id} class="tree-children" on:dragover|preventDefault on:drop|stopPropagation={drop}>
@@ -196,7 +196,7 @@
196 padding: 0 5px 0 0;
197 }
198 }
199 - .root > .tree-label .item-label {
199 + .root > .tree-label {
200 font-weight: bold;
201 }
202 </style>
\ No newline at end of file