aboutsummaryrefslogtreecommitdiff
path: root/static/style.scss
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-04-21 15:12:05 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-04-23 21:53:39 +0200
commit3472121434b145c991d2567f62aaa0411246fc2f (patch)
tree0243d3a875e1a10a800381c1bc2c1c3e4c88922e /static/style.scss
parentRepair and rewrote sliders in HTML. (diff)
downloadcalp-3472121434b145c991d2567f62aaa0411246fc2f.tar.gz
calp-3472121434b145c991d2567f62aaa0411246fc2f.tar.xz
Scroll-behavior: smooth for siderbar.
This make scrolling to event visually apparent (mostly used when JavaScript is disabled).
Diffstat (limited to 'static/style.scss')
-rw-r--r--static/style.scss2
1 files changed, 2 insertions, 0 deletions
diff --git a/static/style.scss b/static/style.scss
index e351fb5d..799b4647 100644
--- a/static/style.scss
+++ b/static/style.scss
@@ -201,6 +201,8 @@ The sidebar with all the events
/* mostly for long links */
word-break: break-word;
+ scroll-behavior: smooth;
+
.eventtext {
border-bottom: 1px solid black;
margin-top: 1em;