Fix SASS error

`SassError: Top-level selectors may not contain the parent selector "&".`
This commit is contained in:
Marcus Blättermann 2022-09-13 00:50:12 +02:00
parent a06a9c994f
commit 2ea50bd2fb
No known key found for this signature in database
GPG Key ID: A1E1F04008AC450D

View File

@ -6,7 +6,7 @@
height: 0
@each $ratio1, $ratio2 in (16, 9), (4, 3)
&.ratio#{$ratio1}x#{$ratio2}
.ratio#{$ratio1}x#{$ratio2}
padding-bottom: (100% * $ratio2 / $ratio1)
.iframe