1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-15 23:17:19 +00:00

Fix ellipsis in files table (#12617)

Turns out text ellispsis does not work in combination with flexbox and
while wrapping in a display:block can help in some cases, I could not
get this to work properly so this changes the truncate to inline-block
again and reduces the clickable area to just vertical expansion from the
links.
This commit is contained in:
silverwind
2020-08-27 22:45:37 +02:00
committed by GitHub
parent e25d4867be
commit f8601f3f09
2 changed files with 7 additions and 6 deletions

View File

@@ -362,12 +362,13 @@
}
.truncate {
display: inline-flex;
align-items: center;
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 100%;
padding-top: 8px;
padding-bottom: 8px;
}
a {