bar from scratch VERSION v1.4
This commit is contained in:
15
README.md
15
README.md
@@ -69,10 +69,13 @@ from the folder name). Reload the board; no build step, no configuration.
|
||||
Kanboard's board scrolls horizontally inside `#board-container`, so its only horizontal
|
||||
scrollbar is at the very bottom of the board -- on a wide board you must scroll all the
|
||||
way down to move sideways. Enable "Add a top horizontal scrollbar" in the settings to get
|
||||
a second, mirrored scrollbar just above the columns. A small script
|
||||
(`Asset/js/top-scrollbar.js`, loaded only when the option is on) inserts a dummy scroll
|
||||
strip above `#board-container` and keeps its scroll position in sync with the board both
|
||||
ways.
|
||||
a second scrollbar just above the columns.
|
||||
|
||||
It is a custom track + draggable thumb (`Asset/js/top-scrollbar.js`, loaded only when the
|
||||
option is on), not a native scrollbar, so it renders and can be sized the same in every
|
||||
browser (Chrome, Firefox, Safari) and on touch. Drag the thumb or click the track to move
|
||||
the board; the thumb tracks the board when you scroll it by other means. Its thickness
|
||||
follows the "Top Horizontal Scrollbar thickness" setting.
|
||||
|
||||
## Settings
|
||||
|
||||
@@ -83,8 +86,8 @@ These settings are global (per Kanboard instance) and admin-only. Go to
|
||||
in the page head as the `--sv-shrink-offset` CSS variable. Increase it if the scrollbar
|
||||
is still clipped (for example with a taller theme header); decrease it to make the
|
||||
collapsed columns taller. Default: 240.
|
||||
- **Top Horizontal Scrollbar thickness in pixels** -- thickness of the top scrollbar
|
||||
(Chromium/WebKit only). Injected as the `--sv-bar-size` CSS variable. Default: 25.
|
||||
- **Top Horizontal Scrollbar thickness in pixels** -- thickness of the custom top
|
||||
scrollbar (all browsers). Injected as the `--sv-bar-size` CSS variable. Default: 25.
|
||||
- **Add a top horizontal scrollbar to the board** -- toggles the mirrored top scrollbar
|
||||
described above. Default: on.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user