Skip to content

Commit

Permalink
Fix vue-bulma#16, Make CSS variables work with SCSS variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Karl-André Gagnon committed Apr 4, 2018
1 parent 1277d6c commit cd3fbdd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Switch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export default {
@import '~bulma/sass/utilities/derived-variables.sass';
.switch {
--height: $size-normal;
--height: #{$size-normal};
input {
opacity: 0;
Expand Down Expand Up @@ -198,13 +198,13 @@ export default {
// Sizes
&.is-small {
--height: $size-small;
--height: #{$size-small};
}
&.is-medium {
--height: $size-medium;
--height: #{$size-medium};
}
&.is-large {
--height: $size-large;
--height: #{$size-large};
}
}
</style>

0 comments on commit cd3fbdd

Please sign in to comment.