1
0
mirror of https://github.com/locomotivemtl/locomotive-boilerplate.git synced 2026-01-15 00:55:08 +08:00

Set iframe full width if no width & height specific html attributes

This commit is contained in:
Lucas Bigot
2024-03-28 10:51:31 -04:00
parent fae0c2a6dc
commit ebbb20d0e3

View File

@@ -97,9 +97,14 @@
// iFrame
// ==========================================================================
iframe {
&:not([width]) {
width: 100%;
}
&:not([height]) {
height: auto;
}
}
// ==========================================================================
// Table