fix media queries in component based element call.
This commit is contained in:
@@ -30,7 +30,7 @@ Please see LICENSE in the repository root for full details.
|
||||
block-size: 140px;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
@container element-call (max-width: 600px) {
|
||||
/* Give the PiP a portrait aspect ratio */
|
||||
.pip[data-size="sm"] {
|
||||
inline-size: 88px;
|
||||
|
||||
@@ -25,7 +25,7 @@ Please see LICENSE in the repository root for full details.
|
||||
var(--content-inset-left);
|
||||
}
|
||||
|
||||
@media (min-width: 600px) {
|
||||
@container element-call (min-width: 600px) {
|
||||
.pip {
|
||||
inline-size: 180px;
|
||||
block-size: 135px;
|
||||
|
||||
Reference in New Issue
Block a user