1
0
Fork 0
forked from forgejo/forgejo

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 {