From 66cebf4ebfc8f6b7945b167ac1d0bec274f2c2b9 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Thu, 27 Mar 2025 16:12:51 +0200 Subject: [PATCH] style(next)/scrollbars: add a remark --- src/public/stylesheets/theme-next/forms.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/public/stylesheets/theme-next/forms.css b/src/public/stylesheets/theme-next/forms.css index ce6663380..30e8eec22 100644 --- a/src/public/stylesheets/theme-next/forms.css +++ b/src/public/stylesheets/theme-next/forms.css @@ -714,7 +714,9 @@ input[type="range"] { --s-thumb-color: var(--scrollbar-thumb-hover-color); } -/* Scrollbar's increment/decrement buttons (repurposed as a scrollbar start/end gap) */ +/* Scrollbar's increment/decrement buttons (repurposed as a scrollbar start/end gap). + * This gap is useful also to avoid breaking the rounded corners of a container when a + * custom scrollbar background color is used. */ ::-webkit-scrollbar-button:vertical { height: var(--scrollbar-start-end-gap);