summaryrefslogtreecommitdiffstats
path: root/core/templates/layout.guest.php
diff options
context:
space:
mode:
authorjbtbnl <jbtbnl@users.noreply.github.com>2014-04-10 00:33:55 +0200
committerjbtbnl <jbtbnl@users.noreply.github.com>2014-04-10 00:33:55 +0200
commitb10bf72999984d1f6c775fbeb0119c66c0fc38f7 (patch)
treeb24f0aa8868c976648e91e1af17d10b8ad876312 /core/templates/layout.guest.php
parent5b8c7a01e90a03687a209ed5f3bd419b095f4f66 (diff)
downloadnextcloud-server-b10bf72999984d1f6c775fbeb0119c66c0fc38f7.tar.gz
nextcloud-server-b10bf72999984d1f6c775fbeb0119c66c0fc38f7.zip
Vertically align public layout to better fit small mobile screens
Diffstat (limited to 'core/templates/layout.guest.php')
-rw-r--r--core/templates/layout.guest.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index 5788d1d5bd3..a6d8d93533a 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -35,14 +35,15 @@
<body id="body-login">
<div class="wrapper"><!-- for sticky footer -->
- <header><div id="header">
- <div class="logo svg"></div>
- <div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
- </div></header>
-
- <?php print_unescaped($_['content']); ?>
+ <div class="v-align"><!-- vertically centred box -->
+ <header><div id="header">
+ <div class="logo svg"></div>
+ <div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
+ </div></header>
+ <?php print_unescaped($_['content']); ?>
<div class="push"></div><!-- for sticky footer -->
+ </div>
</div>
<footer>