Skip to content

Commit

Permalink
Fixed separator styling
Browse files Browse the repository at this point in the history
  • Loading branch information
BurnyLlama committed Apr 28, 2024
1 parent 32c1c5b commit b04eb76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions scss/article.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
@use "mixins";

article {
// This is necessary for teh CSS to work correctly (at least in Firefox)...
// I don't know why, but it pisses me off too!
// Without it, the margin defined for `p` below, will not create "padding" on the `.news-item`-element...
padding: 0 0 1px 0;

> * {
margin: settings.$pad-fixed-m;
}
Expand Down Expand Up @@ -51,7 +46,7 @@ article {
display: flex;
flex-direction: column;
padding-top: settings.$pad-fixed-xs;
border-top: .15rem solid palette.$grey200;
border-top: 1px solid palette.$grey100;

> .author {
display: grid;
Expand Down
2 changes: 1 addition & 1 deletion scss/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ main,

> .sep {
background-color: palette.$grey100;
height: .1rem;
height: 1px;
width: 90%;
margin: settings.$pad-fixed-xs 5%;
}
Expand Down

0 comments on commit b04eb76

Please sign in to comment.