Deprecate respond-to mixin, Zen uses css @media directly instead.
This commit is contained in:
parent
e1718aff96
commit
c97db934af
3 changed files with 20 additions and 18 deletions
|
|
@ -16,7 +16,7 @@
|
|||
flex-grow: 1;
|
||||
}
|
||||
|
||||
@include respond-to(s) {
|
||||
@media (min-width: 666px) {
|
||||
&--2 > * {
|
||||
@include flex(2, $gap);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
gap: var(--gutters);
|
||||
background-color: var(--color-header-bg);
|
||||
|
||||
@include respond-to(s) {
|
||||
@media (min-width: 666px) {
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
// Wrapper for any blocks placed in the header region.
|
||||
&__region {
|
||||
@include respond-to(s) {
|
||||
@media (min-width: 666px) {
|
||||
margin-inline-start: auto;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
%zebra-table {
|
||||
--table-cell-padding: .5rem;
|
||||
|
||||
@include respond-to-max(s) {
|
||||
@media (max-width: 666px) {
|
||||
--table-cell-padding: .3rem;
|
||||
}
|
||||
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
%responsive-table {
|
||||
--table-gap: .5rem;
|
||||
|
||||
@include respond-to-max(s) {
|
||||
@media (max-width: 666px) {
|
||||
th {
|
||||
display: none;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue