From 44da6b4c7de5e3a5651e6ee6fd3058ca4f74d873 Mon Sep 17 00:00:00 2001 From: Adam Kudrna Date: Mon, 13 Jun 2022 23:41:21 +0200 Subject: [PATCH] Fix size of SVG thumbnail in Bookmark cards --- assets/scss/styles/08-koenig/_bookmark.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/assets/scss/styles/08-koenig/_bookmark.scss b/assets/scss/styles/08-koenig/_bookmark.scss index 0678f8d..1dc1c6a 100644 --- a/assets/scss/styles/08-koenig/_bookmark.scss +++ b/assets/scss/styles/08-koenig/_bookmark.scss @@ -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; @@ -157,3 +159,4 @@ $_breakpoint: md; border-radius: 0; } } +// stylelint-enable selector-no-qualifying-type