smaller max logo sizes and cleaner code

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2017-05-02 17:43:59 +02:00 committed by Morris Jobke
parent fa52f906e3
commit c50b7addc7
No known key found for this signature in database
GPG Key ID: 9CE5ED29E7FCD38A
2 changed files with 3 additions and 3 deletions

View File

@ -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%;

View File

@ -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>