aboutsummaryrefslogtreecommitdiffstats
path: root/core/css
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2018-10-01 11:49:16 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2018-10-01 11:49:16 +0200
commitb9806f701228b1ec947e626acf51e6fc7654eab0 (patch)
tree186a38df457cee8d13b86681ec8d61df9cd68b4c /core/css
parente4f3098492c905376fff106308fdadf9af5e1492 (diff)
downloadnextcloud-server-b9806f701228b1ec947e626acf51e6fc7654eab0.tar.gz
nextcloud-server-b9806f701228b1ec947e626acf51e6fc7654eab0.zip
Ellipsize long filenames and sharee names in public share page header
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'core/css')
-rw-r--r--core/css/header.scss7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/css/header.scss b/core/css/header.scss
index 93c21117114..01e9e0ff481 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 */