Skip to content

Commit

Permalink
Fix div sass deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sylhare committed Dec 3, 2023
1 parent 59a44b4 commit 382c94c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion _sass/includes/_share_buttons.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
@use "sass:math";

ul.share-buttons {
list-style: none;
padding: $padding-x-small/2 0 $padding-x-small/4 0;
padding: math.div($padding-x-small, 2) 0 math.div($padding-x-small, 4) 0;
margin: 0;
text-align: center;

Expand Down
4 changes: 3 additions & 1 deletion _sass/layouts/_posts.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use "sass:math";

.comments {
@extend %padding-post;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
Expand Down Expand Up @@ -99,7 +101,7 @@ header {
header {
color: var(--header-text);
margin-bottom: 0;
padding: $padding-large/2.5 $padding-large;
padding: math.div($padding-large, 2.5) $padding-large;

.meta {
color: var(--header-text);
Expand Down

0 comments on commit 382c94c

Please sign in to comment.