dismiss sticky solution for folder stats, as it can easily overlap menu bar
Massimo Melina committed
Dec 22, 2021 at 23:04 UTC
354413be4e0bf864e52f765cee0c9cbe083a1025
2 files changed
+5
-9
frontend/src/Head.ts
+5
-6
@@ -8,12 +8,11 @@ import { state, useSnapState } from './state'
8
import { useDebounce } from 'use-debounce'
9
10
export function Head() {
11
- return h(Fragment, {},
12
- h('header', {},
13
- h(MenuPanel),
14
- h(Breadcrumbs),
15
- ),
16
- h(FolderStats)
11
+ return h('header', {},
12
+ h(MenuPanel),
13
+ h(Breadcrumbs),
14
+ h(FolderStats),
15
+ h('div', { style:{ clear:'both' }}),
16
)
17
}
18
frontend/src/index.scss
-3
@@ -68,9 +68,6 @@ header {
68
padding: 0.1em 0.3em;
69
margin: 0.2em 0.5em;
70
float: right;
71
-
72
- position: sticky;
73
- top: 0;
71
}
72
header input {
73
width: 100%;