Skip to content

Commit

Permalink
fix(pillrow): spacing with right edge of viewport
Browse files Browse the repository at this point in the history
  • Loading branch information
mlbrgl committed Apr 12, 2024
1 parent 89b558e commit 05b153f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions site/gdocs/components/PillRow.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@
flex-wrap: nowrap;
}
.article-block__pill {
&:not(:last-child) {
margin-right: 8px;
}
// margin-right is not visible on the last pill when overflowing, which
// causes the pill to be flush with the edge of the viewport.
// Using padding-right instead to work around this.
padding-right: 8px;
a {
color: $blue-100;
background-color: #fff;
Expand Down

0 comments on commit 05b153f

Please sign in to comment.