summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarin Treselj <marin.treselj@forlagshuset.no>2017-06-30 13:27:33 +0200
committerJulius Härtl <jus@bitgrid.net>2017-07-02 14:15:09 +0200
commit02dd7f59655cd54daff06511b87134fe6018bfae (patch)
tree5984cd94688e853aeaad76585ea18fa7675564a0
parent3470d0a44ea2b7a477af407b3d9abee81de071e3 (diff)
downloadnextcloud-server-02dd7f59655cd54daff06511b87134fe6018bfae.tar.gz
nextcloud-server-02dd7f59655cd54daff06511b87134fe6018bfae.zip
Revert background-size as requested, issue will be fixed separately
Signed-off-by: Marin Treselj <marin.treselj@forlagshuset.no>
-rw-r--r--apps/theming/css/theming.scss3
-rw-r--r--core/css/guest.css2
2 files changed, 4 insertions, 1 deletions
diff --git a/apps/theming/css/theming.scss b/apps/theming/css/theming.scss
index e8b00e41653..20b84d2a0d3 100644
--- a/apps/theming/css/theming.scss
+++ b/apps/theming/css/theming.scss
@@ -47,6 +47,9 @@
/* override styles for login screen in guest.css */
#header .logo {
background-image: url(#{$image-logo});
+ @if $theming-logo-mime != '' {
+ background-size: contain;
+ }
}
#body-login,
diff --git a/core/css/guest.css b/core/css/guest.css
index 0050f198a6c..b3a1de6e32f 100644
--- a/core/css/guest.css
+++ b/core/css/guest.css
@@ -67,7 +67,7 @@ h3 {
#header .logo {
background-image: url('../img/logo.svg?v=1');
background-repeat: no-repeat;
- background-size: contain;
+ background-size: 175px;
background-position: center;
width: 256px;
min-height: 128px;