summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}