mirror of
https://github.com/nextcloud/server.git
synced 2026-04-28 09:37:29 -04:00
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:
parent
4903cb8db4
commit
d3d117c4a8
1 changed files with 12 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue