From 0372cf6b740151b91517102324cb9e5db957c435 Mon Sep 17 00:00:00 2001 From: MaxOvs19 Date: Fri, 17 Nov 2023 17:19:46 +0300 Subject: [PATCH] Fixed scroll --- .../Modal/Tracker/ModalTicket/modalTicket.scss | 2 +- .../Tracker/TrackerModal/trackerModal.scss | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/components/Modal/Tracker/ModalTicket/modalTicket.scss b/src/components/Modal/Tracker/ModalTicket/modalTicket.scss index 3c1680b1..d178dddd 100644 --- a/src/components/Modal/Tracker/ModalTicket/modalTicket.scss +++ b/src/components/Modal/Tracker/ModalTicket/modalTicket.scss @@ -157,7 +157,7 @@ .comments__list { display: flex; overflow-y: auto; - height: 315px; + height: 190px; flex-direction: column; &::-webkit-scrollbar { diff --git a/src/components/Modal/Tracker/TrackerModal/trackerModal.scss b/src/components/Modal/Tracker/TrackerModal/trackerModal.scss index 2567ea9d..d8195de7 100644 --- a/src/components/Modal/Tracker/TrackerModal/trackerModal.scss +++ b/src/components/Modal/Tracker/TrackerModal/trackerModal.scss @@ -243,7 +243,7 @@ &__dropDown { max-height: 155px; - overflow-y: hidden; + overflow-y: auto; display: flex; flex-direction: column; position: absolute; @@ -265,6 +265,21 @@ } } } + + &::-webkit-scrollbar { + width: 3px; + border-radius: 10px; + } + + &::-webkit-scrollbar-thumb { + background: #cbd9f9; + border-radius: 20px; + } + + &::-webkit-scrollbar-track { + background: #c5c0c6; + border-radius: 20px; + } } @media (max-width: 500px) {