diff options
author | Jo Sprague <github@iamlocaljo.com> | 2021-03-15 13:45:42 +0000 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2021-03-19 14:06:22 +0100 |
commit | dc1413cad90fc1999b161e9a2e6d29b85ce9b398 (patch) | |
tree | 561b057c8eb0ef79d80e01a2d2ce4b2c15868534 /apps/dashboard/src/App.vue | |
parent | 12868487312fa2d153fdebc7592ab54dcaf2c419 (diff) | |
download | nextcloud-server-dc1413cad90fc1999b161e9a2e6d29b85ce9b398.tar.gz nextcloud-server-dc1413cad90fc1999b161e9a2e6d29b85ce9b398.zip |
Make background cover whole viewport
Without a min-height, wider viewports can result in a blank white space at the bottom of the screen. This CSS ensures that doesn't happen.
Signed-off-by: Jo Sprague <git@josprague.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Diffstat (limited to 'apps/dashboard/src/App.vue')
-rw-r--r-- | apps/dashboard/src/App.vue | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dashboard/src/App.vue b/apps/dashboard/src/App.vue index a327bc3467c..d7327d743f4 100644 --- a/apps/dashboard/src/App.vue +++ b/apps/dashboard/src/App.vue @@ -403,6 +403,7 @@ export default { <style lang="scss" scoped> #app-dashboard { width: 100%; + min-height: 100vh; background-size: cover; background-position: center center; background-repeat: no-repeat; |