chore: group media queries with rules
This commit is contained in:
parent
6d82c73e2d
commit
b178203a09
13 changed files with 219 additions and 197 deletions
|
@ -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);
|
||||
}
|
||||
}
|
Reference in a new issue