Skip to content

Commit

Permalink
Merge pull request #105 from Jopzik/dev
Browse files Browse the repository at this point in the history
Soluciona error de compilación en SASS por saltos de líneas en el mixin de prototipado
  • Loading branch information
Alexis Mora Angulo authored Oct 15, 2020
2 parents 5c50414 + b25493c commit d287bd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ed-grid",
"version": "3.0.1",
"version": "3.0.2",
"description": "EDgrid (aka ed-grid) is a minimalist Sass/CSS library for building responsive web layouts.",
"style": "ed-grid.scss",
"main": "ed-grid.scss",
Expand Down
9 changes: 2 additions & 7 deletions src/scss/ed-grid/helpers/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,9 @@
@include from($size) {

// Modo debug para saber ver cómo se crearía el selector y el CSS resultante
// Los \a represetan saltos de línea en el string
@if $debug {
@debug ('
@media screen and min-width(#{map-get($breakpoints, $size)}) {
#{$selector} {
#{$property} : #{$value}
}
}
');
@debug ('\a@media screen and min-width(#{map-get($breakpoints, $size)}) { \a #{$selector} { \a #{$property} : #{$value} \a }\a}');
}

// Salida de código
Expand Down

0 comments on commit d287bd6

Please sign in to comment.