aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2026-03-13 13:41:36 +0100
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2026-03-13 16:32:32 +0100
commit1f480779f905b90a7812332a291bb0ddcc492589 (patch)
tree6ec49151127c57236bbb05e8f224d7483677f7ab
parentc580d6bd22f1c908ae26be16764a5fe84208826c (diff)
always set width and height on svg on my courses as well to prevent plugin svgs from growing too large, fixes #6358
Closes #6358 Merge request studip/studip!4818
-rw-r--r--resources/assets/stylesheets/scss/my_courses.scss2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/assets/stylesheets/scss/my_courses.scss b/resources/assets/stylesheets/scss/my_courses.scss
index ddd1014..01048ca 100644
--- a/resources/assets/stylesheets/scss/my_courses.scss
+++ b/resources/assets/stylesheets/scss/my_courses.scss
@@ -37,6 +37,8 @@ $icon-padding: 3px;
}
svg {
+ height: var(--icon-size-default);
+ width: var(--icon-size-default);
vertical-align: bottom;
}