From 5ebb9504a4bf11abca5039503f35a2a617d8827a Mon Sep 17 00:00:00 2001
From: Elmar Ludwig <elmar.ludwig@uni-osnabrueck.de>
Date: Thu, 7 Dec 2023 08:18:40 +0000
Subject: [PATCH] add CSS for .institute-avatar-small/medium, fixes #3540

Closes #3540

Merge request studip/studip!2429
---
 resources/assets/stylesheets/scss/avatar.scss  | 7 ++++---
 resources/assets/stylesheets/scss/sidebar.scss | 2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/resources/assets/stylesheets/scss/avatar.scss b/resources/assets/stylesheets/scss/avatar.scss
index e71e1995d68..717c6b864ff 100644
--- a/resources/assets/stylesheets/scss/avatar.scss
+++ b/resources/assets/stylesheets/scss/avatar.scss
@@ -62,13 +62,15 @@ div.avatar-widget {
     height: $avatar-normal;
 }
 
-.course-avatar-small {
+.course-avatar-small,
+.institute-avatar-small {
     vertical-align: middle;
     max-width: 25px;
     height: 25px;
 }
 
-.course-avatar-medium {
+.course-avatar-medium,
+.institute-avatar-medium {
     max-width: 180px;
     height: 60px;
 }
@@ -88,7 +90,6 @@ div.avatar-widget {
     width: 60px;
 }
 
-
 #custom_avatar label {
     display: block;
     font-weight: bold;
diff --git a/resources/assets/stylesheets/scss/sidebar.scss b/resources/assets/stylesheets/scss/sidebar.scss
index fd885af8a9c..6cdb3692222 100644
--- a/resources/assets/stylesheets/scss/sidebar.scss
+++ b/resources/assets/stylesheets/scss/sidebar.scss
@@ -78,7 +78,7 @@
     }
 
     .course-avatar-medium,
-    .stream-avatar-medium,
+    .institute-avatar-medium,
     .avatar-medium {
         max-width: 60px;
         height: 60px;
-- 
GitLab