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
|
|
@ -99,7 +99,7 @@ textarea {
|
|||
}
|
||||
|
||||
// For forms on mobile with single field add space between it and the submit button.
|
||||
@include respond-to(s) {
|
||||
@media (min-width: 666px) {
|
||||
input:only-of-type {
|
||||
&:has(+ [type='submit']) {
|
||||
margin-inline-end: .5rem;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ img {
|
|||
&.image {
|
||||
--image-padding: .75rem;
|
||||
|
||||
@include respond-to(s) {
|
||||
@media (min-width: 666px) {
|
||||
&.center {
|
||||
margin-inline: auto;
|
||||
}
|
||||
|
|
@ -41,7 +41,7 @@ figure {
|
|||
// Nicer text wrap, e.g. no lone word on last line.
|
||||
text-wrap: pretty;
|
||||
|
||||
@include respond-to(s) {
|
||||
@media (min-width: 666px) {
|
||||
display: table-caption;
|
||||
caption-side: bottom;
|
||||
padding-block-start: 0;
|
||||
|
|
@ -52,7 +52,7 @@ figure {
|
|||
}
|
||||
}
|
||||
|
||||
@include respond-to(s) {
|
||||
@media (min-width: 666px) {
|
||||
display: table;
|
||||
|
||||
&.left {
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ select {
|
|||
}
|
||||
|
||||
[type='search'] {
|
||||
@include respond-to(s) {
|
||||
@media (min-width: 666px) {
|
||||
// Correct the odd appearance in Safari on desktop.
|
||||
-webkit-appearance: textfield;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue