Skip to content

Commit

Permalink
The task information now has a scroll when overflowing.
Browse files Browse the repository at this point in the history
  • Loading branch information
RaayNoff committed Sep 4, 2022
1 parent 534baeb commit 37e94a0
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/components/modals/taskInfo/taskInfo.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,18 @@
display: flex;
flex-direction: column;

height: 620px;
width: 670px;
background-color: #fff;
border-radius: 10px;

scrollbar-width: 0px;

&::-webkit-scrollbar {
position: absolute;
width: 0px;
}

@media (max-width: 681px) {
width: 460px;
}
Expand All @@ -24,10 +32,20 @@
// .taskInfo__dat
&__data {
width: 473px;
height: 575px;
overflow-y: auto;
display: flex;
flex-direction: column;
margin: 0px 0px 25px 25px;

.wrapper::-webkit-scrollbar-track-piece:start {
margin-top: 10px;
height: 100px;
}
&::-webkit-scrollbar:horizontal {
height: 100px;
}

@media (max-width: 681px) {
width: 460px;
}
Expand Down

0 comments on commit 37e94a0

Please sign in to comment.