Skip to content

Commit

Permalink
fix: Make sure “featured” label don’t get clipped
Browse files Browse the repository at this point in the history
  • Loading branch information
strogonoff committed Dec 16, 2018
1 parent 5cc3ade commit f4476c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _sass/open-project-base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ a {
&.featured-item::before {
// Reposition featured item label for grid layout
// !important overrides .item-card which ends up with higher specificity
top: -1em !important;
left: 30px !important; // Matches corresponding item card padding
right: auto !important;
top: 0 !important;
left: right !important; // Matches corresponding item card padding
auto: auto !important;
bottom: auto !important;
}
}
Expand Down

0 comments on commit f4476c6

Please sign in to comment.