Skip to content

Commit

Permalink
[Site] Improve IconModal display on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Kocal committed Dec 23, 2024
1 parent 21d9557 commit 610db72
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions ux.symfony.com/assets/styles/components/_IconModal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
min-height: 1rem;
max-width: 100vw;
max-height: 100vh;
overflow: clip;
overflow: auto;
padding: 1rem 1.5rem;
background: var(--bs-body-bg);
color: var(--bs-body-color);
Expand Down Expand Up @@ -59,7 +59,6 @@

.IconModal__body {
display: grid;
grid-template-columns: 300px 1fr;
gap: 1.5rem;
}

Expand Down Expand Up @@ -238,3 +237,21 @@
.IconModal__main h3:first-child {
padding-top: 0;
}

.IconModal__main .TabBody {
padding-block-end: 0;
}

@media screen and (max-width: 768px) {
.IconModal {
padding: .5rem;
margin: .5rem;
width: auto;
height: auto;
}
}
@media screen and (min-width: 768px) {
.IconModal__body {
grid-template-columns: 300px 1fr;
}
}

0 comments on commit 610db72

Please sign in to comment.