diff --git a/apps/theming/lib/ThemingDefaults.php b/apps/theming/lib/ThemingDefaults.php
index 7f74539ed5d..1e55a1fb2f9 100644
--- a/apps/theming/lib/ThemingDefaults.php
+++ b/apps/theming/lib/ThemingDefaults.php
@@ -172,11 +172,16 @@ class ThemingDefaults extends \OC_Defaults {
public function getShortFooter() {
$slogan = $this->getSlogan();
$baseUrl = $this->getBaseUrl();
- if ($baseUrl !== '') {
- $footer = '' . $this->getEntity() . '';
- } else {
- $footer = '' .$this->getEntity() . '';
+ $entity = $this->getEntity();
+ $footer = '';
+
+ if ($entity !== '') {
+ if ($baseUrl !== '') {
+ $footer = '' . $entity . '';
+ } else {
+ $footer = '' .$entity . '';
+ }
}
$footer .= ($slogan !== '' ? ' – ' . $slogan : '');
diff --git a/core/css/guest.scss b/core/css/guest.scss
index f834149fd35..be352135de4 100644
--- a/core/css/guest.scss
+++ b/core/css/guest.scss
@@ -107,7 +107,7 @@ body {
.wrapper {
width: 100%;
max-width: 700px;
- margin-top: 10vh;
+ margin-block: 10vh auto;
}
/* Default FORM */
@@ -736,7 +736,6 @@ img.icon-loading-small-dark, object.icon-loading-small-dark, video.icon-loading-
/* FOOTER */
footer {
- margin-top: auto;
.info .entity-name {
font-weight: bold;
}
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index 41f519574a1..450f8caf676 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -47,9 +47,14 @@ p($theme->getTitle());
-