summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormax-nextcloud <max@nextcloud.com>2022-01-17 20:45:25 +0100
committerGitHub <noreply@github.com>2022-01-17 20:45:25 +0100
commit90ac982503bb76a452c58a259dcc8091bdb3b49d (patch)
tree27bcd3de9143af88f3d7b8120f3de965286c0ed9
parent93fda5154d6de518e56d7ba8a6b2383e3f3a3382 (diff)
parentf989dcbea8767bd12d660669ad7c530e6ae705ee (diff)
downloadnextcloud-server-90ac982503bb76a452c58a259dcc8091bdb3b49d.tar.gz
nextcloud-server-90ac982503bb76a452c58a259dcc8091bdb3b49d.zip
Merge pull request #30722 from nextcloud/backport/30719/stable23
[stable23] Fix loading of the text app in public shared links
-rw-r--r--core/css/public.scss15
1 files changed, 12 insertions, 3 deletions
diff --git a/core/css/public.scss b/core/css/public.scss
index 31e48f3c7cc..e0ca670fcdb 100644
--- a/core/css/public.scss
+++ b/core/css/public.scss
@@ -9,10 +9,19 @@
/** Center the shared content inside the page */
&.app-files_sharing {
- justify-content: center;
- align-items: center;
#app-content {
- min-height: inherit;
+ min-height: 100%;
+ display: flex;
+ }
+
+ #files-public-content {
+ flex-grow: 2;
+ display: grid;
+ }
+
+ #preview {
+ justify-self: center;
+ align-self: center;
padding-left: 1rem;
padding-right: 1rem;
}