better code
Massimo Melina committed
Feb 14, 2023 at 11:47 UTC
1c86f0464d38046501489c9564129d56005f2762
2 files changed
+2
-1
frontend/src/BrowseFiles.ts
+1
-1
@@ -191,7 +191,7 @@ const Entry = memo((entry: DirEntry & { midnight: Date, separator?: string }) =>
191
),
192
useEntryCustomCode('afterEntryName', entry),
193
h(EntryProps, entry),
194
- h('div', { style:{ clear:'both' } })
194
+ h('div'),
195
)
196
})
197
frontend/src/index.scss
+1
@@ -211,6 +211,7 @@ ul.dir {
211
width: 1.5em;
212
}
213
}
214
+ &>div:last-of-type { clear:both }
215
&.page-separator {
216
margin-top: 1em;
217
position: relative;