@@ -129,7 +129,7 @@ $sidebar-width: 17em;
129129 // at narrower widths, when 1fr = 0
130130 // we can center without matching the sidebar's width
131131 // which allows the title to take up the remaining width
132- @media screen and (width <= 1400px ) {
132+ @media screen and (max- width: 1400px ) {
133133 grid-template-columns :
134134 calc (var (--d-sidebar-width ) - 11px )
135135 1fr
@@ -138,7 +138,7 @@ $sidebar-width: 17em;
138138 auto ;
139139 }
140140
141- @media screen and (width <= 1000px ) {
141+ @media screen and (max- width: 1000px ) {
142142 gap : 0.5em ;
143143 }
144144
@@ -210,7 +210,7 @@ body.has-sidebar-page {
210210 padding : 0 ;
211211 }
212212
213- @media screen and (width >= calc ($reply-area-max-width + ($sidebar-width * 2))) {
213+ @media screen and (min- width: calc ($reply-area-max-width + ($sidebar-width * 2 ))) {
214214 #reply-control .show-preview {
215215 margin-left : auto ;
216216 margin-right : auto ;
@@ -221,7 +221,7 @@ body.has-sidebar-page {
221221 }
222222 }
223223
224- @media screen and (width <= calc ($reply-area-max-width + ($sidebar-width * 2))) and (width >= calc ($reply-area-max-width + calc ($sidebar-width / 2))) {
224+ @media screen and (max- width: calc ($reply-area-max-width + ($sidebar-width * 2 ))) and (min- width: calc ($reply-area-max-width + calc ($sidebar-width / 2 ))) {
225225 #reply-control .show-preview :not (.fullscreen ) {
226226 margin-left : $sidebar-width ;
227227 width : auto ;
@@ -237,7 +237,7 @@ body.has-sidebar-page {
237237 }
238238
239239 // overruling new core composer changes
240- @media screen and (width >= $reply-area-max-width ) {
240+ @media screen and (min- width: $reply-area-max-width ) {
241241 #reply-control .show-preview :not (.fullscreen ) {
242242 max-width : $reply-area-max-width ;
243243 transform : none ;
@@ -267,7 +267,7 @@ body.sidebar-animate {
267267}
268268
269269// provides some extra space for login buttons
270- @media screen and (width >= 1400px ) {
270+ @media screen and (min- width: 1400px ) {
271271 .anon {
272272 .d-header .panel {
273273 grid-column-start : -4 ;
0 commit comments