Skip to content

Commit c72bf64

Browse files
author
Andrea Barbasso
committed
[DSC-2548] apply Chrome SVG fallback for non-explicitly sized containers in Firefox
1 parent cea486a commit c72bf64

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/app/thumbnail/thumbnail.component.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
img {
66
max-width: 100%;
7+
// Apply Chrome SVG fallback for non-explicitly sized containers in Firefox
8+
&[src$=".svg"] {
9+
width: 300px !important;
10+
}
711
}
812

913
.outer { // .outer/.inner generated ~ https://ratiobuddy.com/

0 commit comments

Comments
 (0)