aboutsummaryrefslogtreecommitdiffstats
path: root/core/css/styles.scss
diff options
context:
space:
mode:
Diffstat (limited to 'core/css/styles.scss')
-rw-r--r--core/css/styles.scss13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/css/styles.scss b/core/css/styles.scss
index da84befd16c..88361111d92 100644
--- a/core/css/styles.scss
+++ b/core/css/styles.scss
@@ -874,6 +874,16 @@ code {
padding-left: 51px;
background-position: 7px 7px;
cursor: pointer;
+ // avoid taking full width
+ max-width: 0;
+ .filename-parts {
+ display: flex;
+ &__first {
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ }
+ }
}
.filesize, .date {
width: 80px;
@@ -917,6 +927,9 @@ code {
background-size: contain;
line-height: $name-height;
max-width: none;
+ .filename-parts {
+ justify-content: center;
+ }
}
&.filesize {
line-height: $name-height / 3;