mirror of
https://github.com/webslides/WebSlides.git
synced 2025-08-16 01:54:53 +02:00
Proper percent
This commit is contained in:
@@ -158,7 +158,7 @@ $sizes: 80, 70, 60, 50, 40, 30, 20;
|
||||
@media (min-width: 1024px) {
|
||||
@each $size in $sizes {
|
||||
.size-#{$size} {
|
||||
width: $size + '%';
|
||||
width: percentage($size / 100);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -599,19 +599,19 @@ figure.alignleft {
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.size-80 {
|
||||
width: "80%"; }
|
||||
width: 80%; }
|
||||
.size-70 {
|
||||
width: "70%"; }
|
||||
width: 70%; }
|
||||
.size-60 {
|
||||
width: "60%"; }
|
||||
width: 60%; }
|
||||
.size-50 {
|
||||
width: "50%"; }
|
||||
width: 50%; }
|
||||
.size-40 {
|
||||
width: "40%"; }
|
||||
width: 40%; }
|
||||
.size-30 {
|
||||
width: "30%"; }
|
||||
width: 30%; }
|
||||
.size-20 {
|
||||
width: "20%"; } }
|
||||
width: 20%; } }
|
||||
|
||||
pre,
|
||||
code {
|
||||
|
Reference in New Issue
Block a user