Skip to content
Snippets Groups Projects
Commit 773491a4 authored by Rasmus Fuhse's avatar Rasmus Fuhse
Browse files

Resolve "Banner sind zu groß"

Closes #2943

Merge request studip/studip!1983
parent bd65b830
No related branches found
No related tags found
No related merge requests found
...@@ -226,6 +226,6 @@ class Banner extends SimpleORMap ...@@ -226,6 +226,6 @@ class Banner extends SimpleORMap
$this->views += 1; $this->views += 1;
$this->store(); $this->store();
return sprintf('<div style="padding: 5px; text-align: center;">%s</div>', $link); return sprintf('<div class="studip-banner">%s</div>', $link);
} }
} }
...@@ -213,3 +213,12 @@ div.available-widgets { ...@@ -213,3 +213,12 @@ div.available-widgets {
} }
} }
} }
.studip-banner {
padding-bottom: 5px;
text-align: center;
img {
max-width: 100%;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment