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 committed by backportbot[bot]
parent 93fda5154d
commit f989dcbea8

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