Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Commit

Permalink
fix: change top margin for notecards
Browse files Browse the repository at this point in the history
To better accomodate cases where a notecard is the first item in an article, we
set the top margin to `$base-spacing / 2`

fix #303
  • Loading branch information
Schalk Neethling committed Nov 30, 2020
1 parent 33b1869 commit f90b309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sass/atoms/_notecards.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.notecard {
border-left: $notecard-border;
margin: $base-spacing 0;
margin: ($base-spacing / 2) 0 $base-spacing;
padding: ($base-spacing / 4) ($base-spacing / 2);

&::before {
Expand Down

0 comments on commit f90b309

Please sign in to comment.