You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The key reason here is that the embed may be rendered inside of a column which is narrower than the entire window, meaning that the media query won't produce the right result.
A feature query may also be utilized (e.g. @supports (contain: inline-size) { /*...*/ }) where relevant.
The text was updated successfully, but these errors were encountered:
Now that container queries are generally available (caniuse), I suggest that the following logic be updated to use them instead of media queries:
wp-cls-terminator/includes/class-cls-terminator.php
Lines 49 to 60 in 42b6824
The key reason here is that the embed may be rendered inside of a column which is narrower than the entire window, meaning that the media query won't produce the right result.
A feature query may also be utilized (e.g.
@supports (contain: inline-size) { /*...*/ }
) where relevant.The text was updated successfully, but these errors were encountered: