diff options
Diffstat (limited to 'core/css')
-rw-r--r-- | core/css/header.scss | 7 | ||||
-rw-r--r-- | core/css/public.scss | 5 |
2 files changed, 9 insertions, 3 deletions
diff --git a/core/css/header.scss b/core/css/header.scss index 39d97865ec0..4c0f05f9cc6 100644 --- a/core/css/header.scss +++ b/core/css/header.scss @@ -65,6 +65,8 @@ display: flex; align-items: center; flex-wrap: wrap; + overflow: hidden; + &:focus { opacity: .75; } @@ -151,6 +153,7 @@ flex: 0 0; flex-grow: 1; white-space: nowrap; + overflow: hidden; } #header-right, .header-right { @@ -206,7 +209,7 @@ } } -/* show appname next to logo */ +/* only used for public share pages now as we have the app icons when logged in */ .header-appname { color: var(--color-primary-text); font-size: 16px; @@ -214,6 +217,8 @@ margin: 0; padding: 0; padding-right: 5px; + overflow: hidden; + text-overflow: ellipsis; } /* do not show menu toggle on public share links as there is no menu */ diff --git a/core/css/public.scss b/core/css/public.scss index 5f02dc1762b..0edf391fa49 100644 --- a/core/css/public.scss +++ b/core/css/public.scss @@ -8,8 +8,6 @@ $footer-height: 65px; } #header-secondary-action { - margin-right: 13px; - ul li { min-width: 270px; } @@ -73,8 +71,11 @@ $footer-height: 65px; a { color: var(--color-text-lighter); font-weight: 600; + white-space: nowrap; + /* increasing clickability to more than the text height */ padding: 13px; margin: -13px; + line-height: 200%; } } } |