diff options
author | Robin Appelman <robin@icewind.nl> | 2017-05-02 17:43:59 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-05-02 13:01:11 -0300 |
commit | c50b7addc7282cb05f2b4a01b45bfde0a5a4e6fb (patch) | |
tree | e17263335c57ef405589e2dd0cb06850a756fd38 /core | |
parent | fa52f906e3817b4eedcece5008cd70de7251242f (diff) | |
download | nextcloud-server-c50b7addc7282cb05f2b4a01b45bfde0a5a4e6fb.tar.gz nextcloud-server-c50b7addc7282cb05f2b4a01b45bfde0a5a4e6fb.zip |
smaller max logo sizes and cleaner code
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'core')
-rw-r--r-- | core/css/guest.css | 4 | ||||
-rw-r--r-- | core/templates/layout.guest.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/css/guest.css b/core/css/guest.css index 02af5d3e0cf..f2de4c832ae 100644 --- a/core/css/guest.css +++ b/core/css/guest.css @@ -71,14 +71,14 @@ h3 { background-position: center; width: 252px; min-height: 120px; - max-height: 300px; + max-height: 200px; margin: 0 auto; } #header .logo img { opacity: 0; max-width: 100%; - max-height: 300px; + max-height: 200px; } .wrapper { min-height: 100%; diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php index 7e248ff2f7f..1f38aaef5f9 100644 --- a/core/templates/layout.guest.php +++ b/core/templates/layout.guest.php @@ -41,7 +41,7 @@ <?php p($theme->getName()); ?> </h1> <?php if(\OC::$server->getConfig()->getAppValue('theming', 'logoMime', false)): ?> - <img src="<?php p(\OC::$server->getURLGenerator()->getAbsoluteURL('apps/theming/logo') . '?' . \OC::$server->getConfig()->getAppValue('theming', 'cachebuster', '0')) ?>"/> + <img src="<?php p($theme->getLogo()); ?>"/> <?php endif; ?> </div> <div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div> |