Skip to content

Commit

Permalink
Use calc for Sass division in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
yous committed Dec 27, 2022
1 parent 4593cfc commit b9e78e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions _sass/whiteglass.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ $on-laptop: 800px !default;
// Use media queries like this:
// @include media-query($on-palm) {
// .wrapper {
// padding-right: $spacing-unit / 2;
// padding-left: $spacing-unit / 2;
// padding-right: calc($spacing-unit / 2);
// padding-left: calc($spacing-unit / 2);
// }
// }
@mixin media-query($device) {
Expand Down
4 changes: 2 additions & 2 deletions assets/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ $on-laptop: 800px;
// Use media queries like this:
// @include media-query($on-palm) {
// .wrapper {
// padding-right: $spacing-unit / 2;
// padding-left: $spacing-unit / 2;
// padding-right: calc($spacing-unit / 2);
// padding-left: calc($spacing-unit / 2);
// }
// }
@mixin media-query($device) {
Expand Down

0 comments on commit b9e78e6

Please sign in to comment.