Skip to content

Commit

Permalink
Fix size of SVG thumbnail in Bookmark cards
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkudrna committed Jun 14, 2022
1 parent 79b2f75 commit 44da6b4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion assets/scss/styles/08-koenig/_bookmark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,9 @@ $_breakpoint: md;
}
}

.kg-bookmark-thumbnail > img {
// stylelint-disable selector-no-qualifying-type -- Override editor styles for SVG.
.kg-bookmark-thumbnail > img,
.kg-bookmark-card .kg-bookmark-thumbnail > img[src$=".svg"] {
width: 100%;
border-radius: borders.$radius borders.$radius 0 0;

Expand All @@ -157,3 +159,4 @@ $_breakpoint: md;
border-radius: 0;
}
}
// stylelint-enable selector-no-qualifying-type

0 comments on commit 44da6b4

Please sign in to comment.