diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 1fd8abdad9..26eea8412b 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -7333,3 +7333,11 @@ button, .btn { color: var(--primary) !important; cursor: default; } + + +.sidebar-img { + width: 100%; + height: 200px; + object-fit: contain; +} + diff --git a/files/templates/sidebar_WPD.html b/files/templates/sidebar_WPD.html index d179460d84..49482e12cf 100644 --- a/files/templates/sidebar_WPD.html +++ b/files/templates/sidebar_WPD.html @@ -16,7 +16,7 @@ {% if request.path != '/sidebar' %} - sidebar image + sidebar image {% endif %} diff --git a/files/templates/sidebar_rDrama.html b/files/templates/sidebar_rDrama.html index d32d558e7f..9ecc4facf6 100644 --- a/files/templates/sidebar_rDrama.html +++ b/files/templates/sidebar_rDrama.html @@ -17,11 +17,11 @@ {% if request.path != '/sidebar' %} {% if v and (v.is_banned or v.agendaposter) %} - sidebar image + sidebar image {% elif not (sub and sub.name == 'chudrama' and v and not v.can_see_chudrama) %} - sidebar image + sidebar image {% endif %} {% endif %}