Skip to content

Commit

Permalink
fix(client): allows modal to grow when inner width exceeds container (#…
Browse files Browse the repository at this point in the history
…597)

Co-authored-by: Trim21 <trim21.me@gmail.com>
  • Loading branch information
gillesdemey and trim21 authored Dec 11, 2023
1 parent 725fbb4 commit b0dafe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/sass/components/_modals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ $modal--tabs--padding--vertical--left: $modal--padding--horizontal;
transition: transform $modal--transition--duration;
transform: translate(-50%, 0);
transform-origin: 50% 50%;
width: 500px;
min-width: 500px;

@media (max-width: 720px) {
max-width: 100%;
Expand Down

1 comment on commit b0dafe2

@whiteout12
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this might have caused problems in mobile. the modal gets bigger than the screen

Please sign in to comment.