From bc00c72e7dcde79ad09df41f5db00a3e072d204a Mon Sep 17 00:00:00 2001 From: Mikola Date: Wed, 8 Nov 2023 22:04:18 +0300 Subject: [PATCH] registration --- .../Tracker/ModalTicket/modalTicket.scss | 47 +++++++++---------- 1 file changed, 23 insertions(+), 24 deletions(-) diff --git a/src/components/Modal/Tracker/ModalTicket/modalTicket.scss b/src/components/Modal/Tracker/ModalTicket/modalTicket.scss index 810b9e16..a5a35a20 100644 --- a/src/components/Modal/Tracker/ModalTicket/modalTicket.scss +++ b/src/components/Modal/Tracker/ModalTicket/modalTicket.scss @@ -20,7 +20,29 @@ border-radius: 8px; display: flex; flex-direction: row; - max-height: 750px; + max-height: 650px; + overflow-y: auto; + + + @media (max-width: 880px) { + max-height: none; + overflow-y: inherit; + } + + &::-webkit-scrollbar { + width: 3px; + border-radius: 10px; + } + + &::-webkit-scrollbar-thumb { + background: #cbd9f9; + border-radius: 20px; + } + + &::-webkit-scrollbar-track { + background: #c5c0c6; + border-radius: 20px; + } .content { position: relative; @@ -125,27 +147,6 @@ -webkit-box-orient: vertical; } - .taskDescription { - max-height: 150px; - overflow-y: auto; - padding-right: 10px; - - &::-webkit-scrollbar { - width: 4px; - border-radius: 10px; - } - - &::-webkit-scrollbar-thumb { - background: #cbd9f9; - border-radius: 10px; - } - - &::-webkit-scrollbar-track { - background: #c5c0c6; - border-radius: 10px; - } - } - .fullName { max-width: 800px; } @@ -157,8 +158,6 @@ .comments__list { display: flex; flex-direction: column; - max-height: 215px; - overflow: auto; &::-webkit-scrollbar { width: 4px;