mirror of
https://github.com/webslides/WebSlides.git
synced 2025-08-15 17:44:43 +02:00
Fixing size-n width
This commit is contained in:
@@ -161,7 +161,7 @@ $sizes: 80, 70, 60, 50, 40, 30, 20;
|
||||
@media (min-width: 1024px) {
|
||||
@each $size in $sizes {
|
||||
.size-#{$size} {
|
||||
width: $size + '%';
|
||||
width: $size * 1%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -470,19 +470,19 @@ figure.alignleft {
|
||||
/*=== div.size-60, img.size-50, h1.size-40, p.size-30... === */
|
||||
@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