summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-08-24 15:45:39 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-08-24 15:45:39 +0200
commit3cb52b868a0eba7bdfb6a03fed24447873735dd6 (patch)
tree4ba31a0c1bf1c7cec39a14b82709b12c814e0d1f /apps
parente27817aedaafb3ad387520c5dc9298c7ffcea6ad (diff)
downloadnextcloud-server-3cb52b868a0eba7bdfb6a03fed24447873735dd6.tar.gz
nextcloud-server-3cb52b868a0eba7bdfb6a03fed24447873735dd6.zip
Fix header calculation and better public design
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/css/public.scss15
1 files changed, 12 insertions, 3 deletions
diff --git a/apps/files_sharing/css/public.scss b/apps/files_sharing/css/public.scss
index 3d6fc62ceba..2b83db46007 100644
--- a/apps/files_sharing/css/public.scss
+++ b/apps/files_sharing/css/public.scss
@@ -160,17 +160,26 @@ thead {
}
#header .header-shared-by {
- display: inline-block;
color: var(--color-primary-text);
position: relative;
- top: -10px;
font-weight: 300;
font-size: 11px;
opacity: .57;
- margin-top: 10px;
}
#note {
text-align: center;
padding: 10px;
}
+
+
+// hide the primary on public share on mobile
+@media only screen and (max-width: 768px) {
+ #body-public {
+ .header-right {
+ #header-primary-action {
+ display: none;
+ }
+ }
+ }
+} \ No newline at end of file