Skip to content

Commit

Permalink
chore: Change overflow to auto, so hide the scrollbar when it's not n…
Browse files Browse the repository at this point in the history
…ecessary.
  • Loading branch information
theodorklauritzen committed Sep 17, 2024
1 parent 1ce09fd commit e6c267c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/_components/PopUp/PopUp.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
max-height: 95svh;
background-color: ohma.$colors-white;
> .overflow {
overflow-y: scroll;
overflow-y: auto;
margin: 0;
padding: 0;
max-height: calc(95svh - ohma.$cardPadding * 2);
Expand Down Expand Up @@ -73,4 +73,4 @@
height: 3em;
}
}
}
}

0 comments on commit e6c267c

Please sign in to comment.