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>
This commit is contained in:
Carl Schwan 2022-01-17 16:00:19 +01:00
parent 4903cb8db4
commit d3d117c4a8
No known key found for this signature in database
GPG key ID: 06B35D38387B67BE

View file

@ -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;
}