diff options
author | Michael Weimann <mail@michael-weimann.eu> | 2018-10-03 10:40:22 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-11-07 12:19:19 +0300 |
commit | 08e681b221736e101880b6698dee7f58b54fb5b4 (patch) | |
tree | 9f63ca831f9739b7c9b470a669bba85221652db0 /apps/files_sharing/css | |
parent | 16f379b9741a2ce9ca0ac3ea0f71a8fc98ce0890 (diff) |
Inlines the share note for file drops
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
Diffstat (limited to 'apps/files_sharing/css')
-rw-r--r-- | apps/files_sharing/css/mobile.scss | 9 | ||||
-rw-r--r-- | apps/files_sharing/css/public.scss | 16 |
2 files changed, 21 insertions, 4 deletions
diff --git a/apps/files_sharing/css/mobile.scss b/apps/files_sharing/css/mobile.scss index 272dbbc0c34..3d2f5c7ac7e 100644 --- a/apps/files_sharing/css/mobile.scss +++ b/apps/files_sharing/css/mobile.scss @@ -51,4 +51,13 @@ table td.filename .nametext { background-position: center; } + .disclaimer, + .note { + padding: 0 20px; + } + + #emptycontent { + margin-top: 10vh; + } + } diff --git a/apps/files_sharing/css/public.scss b/apps/files_sharing/css/public.scss index d1bdfe9162a..713d2968e8f 100644 --- a/apps/files_sharing/css/public.scss +++ b/apps/files_sharing/css/public.scss @@ -92,8 +92,15 @@ thead { margin: 0 auto; } -#emptycontent.has-disclaimer { - margin-top: 10vh; +#emptycontent { + &.has-disclaimer, + &.has-note { + margin-top: 10vh; + } + + &.has-disclaimer.has-note { + margin-top: 5vh; + } } #public-upload #emptycontent h2 { @@ -152,8 +159,9 @@ thead { margin-right: 7px; } -.disclaimer { - margin: -20px auto 30px; +.disclaimer, +.note { + margin: 0 auto 30px; max-width: 400px; text-align: left; } |