diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-01-17 16:00:19 +0100 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-01-17 16:00:19 +0100 |
commit | d3d117c4a874eb8803fb043b2b011d8732b2709f (patch) | |
tree | eba2a1a0bdf63437e86c59e201c247a0eff86e00 /core | |
parent | 4903cb8db4094b1c20d96697a127e037a3406916 (diff) | |
download | nextcloud-server-d3d117c4a874eb8803fb043b2b011d8732b2709f.tar.gz nextcloud-server-d3d117c4a874eb8803fb043b2b011d8732b2709f.zip |
Fix loading of the text app in public shared links
Instead of doing the centering for the entire public content, only do it
for the preview. This is more safe.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'core')
-rw-r--r-- | core/css/public.scss | 15 |
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; } |