Skip to content

Commit

Permalink
fix(article.scss): Fix paragraph margins inside of table cells
Browse files Browse the repository at this point in the history
The current margins conflicts with table alignment.
  • Loading branch information
sunesimonsen committed Aug 16, 2022
1 parent 254388f commit 0307580
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2047,6 +2047,16 @@ ul {
transform: rotate(0.5turn);
}

.article td > p:first-child,
.article th > p:first-child {
margin-top: 0;
}

.article td > p:last-child,
.article th > p:last-child {
margin-bottom: 0;
}

.sidenav-title {
font-size: 15px;
position: relative;
Expand Down
10 changes: 10 additions & 0 deletions styles/_article.scss
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,16 @@
@extend .button-primary;
}
}

td > p:first-child,
th > p:first-child {
margin-top: 0;
}

td > p:last-child,
th > p:last-child {
margin-bottom: 0;
}
}

.sidenav {
Expand Down

0 comments on commit 0307580

Please sign in to comment.