chore: group media queries with rules

This commit is contained in:
Cory Dransfeldt 2024-09-11 15:21:40 -07:00
parent 6d82c73e2d
commit b178203a09
No known key found for this signature in database
13 changed files with 219 additions and 197 deletions

View file

@ -16,6 +16,13 @@
border-radius: var(--border-radius-slight);
padding: var(--spacing-lg) var(--spacing-2xl);
@media screen and (min-width: 768px) {
max-height: 75%;
max-width: 75%;
inset: 12.5%;
border: var(--border-gray);
}
& .modal-close {
position: absolute;
top: var(--spacing-lg);
@ -66,13 +73,4 @@
stroke: var(--accent-color-hover);
}
}
}
@media screen and (min-width: 768px) {
.modal-wrapper .modal-body {
max-height: 75%;
max-width: 75%;
inset: 12.5%;
border: var(--border-gray);
}
}