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

Truncated organisations name #14583 (#14615)

- truncate to max length 40
- add CSS ellipsis
This commit is contained in:
vnkmpf
2021-02-09 20:51:01 +01:00
committed by GitHub
parent b337c606d3
commit 3a4801d195
11 changed files with 39 additions and 28 deletions

View File

@@ -347,6 +347,9 @@ a.muted:hover,
.ui.selection.dropdown .menu > .item {
border-color: var(--color-secondary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.ui.selection.visible.dropdown > .text:not(.default) {
@@ -387,6 +390,10 @@ a.muted:hover,
.ui.menu .ui.dropdown .menu > .item {
color: var(--color-text) !important;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: block;
}
.ui.menu .ui.dropdown .menu > .item:hover {

View File

@@ -278,6 +278,10 @@ textarea:focus,
form {
.dropdown .text {
margin-right: 0 !important;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.header {