From 4f6e1ed1ecfc45572d1b3a6a36c2589f7e0ce4c0 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Thu, 1 Feb 2024 10:59:38 +0200 Subject: [PATCH] fix scrollbar for chrome 121 --- frontend/less/espo/custom.less | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/frontend/less/espo/custom.less b/frontend/less/espo/custom.less index 1ec97fdac5..c1c4f578d8 100644 --- a/frontend/less/espo/custom.less +++ b/frontend/less/espo/custom.less @@ -3388,10 +3388,7 @@ a.close:hover { opacity: 0.8; } -.dashlet > .dashlet-body, -.list-kanban-container { - scrollbar-width: thin; -} + .wysiwyg-iframe-container.fallback { border-radius: var(--border-radius); @@ -3399,9 +3396,16 @@ a.close:hover { background-color: var(--white-color); } -* { - scrollbar-width: auto; - scrollbar-color: var(--scroll-thumb-bg) var(--scroll-bg); +@supports not selector(::-webkit-scrollbar) { + .dashlet > .dashlet-body, + .list-kanban-container { + scrollbar-width: thin; + } + + * { + scrollbar-width: auto; + scrollbar-color: var(--scroll-thumb-bg) var(--scroll-bg); + } } *::-webkit-scrollbar {