diff --git a/assets/styles/app.css b/assets/styles/app.css index a69df1e..e236087 100644 --- a/assets/styles/app.css +++ b/assets/styles/app.css @@ -32,3 +32,15 @@ cursor: pointer; } } + +/* + * Thin scrollbars without a track for inner scrolling areas. The page scrollbar takes its + * style from , which body * leaves out. Firefox and Chrome/Edge 121+ honour these; + * Safari keeps its own overlay scrollbars. + */ +@layer base { + body * { + scrollbar-width: thin; + scrollbar-color: var(--color-gray-300) transparent; + } +} diff --git a/assets/styles/components/timeline.css b/assets/styles/components/timeline.css index 5713880..02b0255 100644 --- a/assets/styles/components/timeline.css +++ b/assets/styles/components/timeline.css @@ -1,4 +1,4 @@ .scroll-container { - @apply overflow-scroll; + @apply overflow-auto; max-height: calc(100vh - 320px); } diff --git a/templates/_partials/_assignment_info_compact.html.twig b/templates/_partials/_assignment_info_compact.html.twig index df68eca..b9d988b 100644 --- a/templates/_partials/_assignment_info_compact.html.twig +++ b/templates/_partials/_assignment_info_compact.html.twig @@ -4,7 +4,7 @@