fix: overflow on long group names, nodebb/nodebb#7447

main
Julian Lam 6 years ago
parent 8a81816400
commit fa32d014c5

@ -1,3 +1,15 @@
.group-label {
display: inline-block;
text-transform: uppercase;
vertical-align: middle;
padding: 4px;
border-radius: 2px;
max-width: 150px;
overflow-x: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.groups.details { .groups.details {
margin-top: 200px; margin-top: 200px;
@ -104,6 +116,11 @@
} }
} }
h1 {
overflow-wrap: break-word;
margin-top: 0;
}
.owner-controls { .owner-controls {
margin-top: -6px; margin-top: -6px;
} }
@ -133,6 +150,12 @@
padding: .2em .3em .1em; padding: .2em .3em .1em;
} }
} }
.options {
.user-title-option span.label {
.group-label;
}
}
} }
.groups.list { .groups.list {
@ -155,6 +178,10 @@
color: white; color: white;
font-weight: bold; font-weight: bold;
text-transform: capitalize; text-transform: capitalize;
white-space: nowrap;
text-overflow: ellipsis;
overflow-x: hidden;
max-width: 100%;
} }
} }

@ -96,13 +96,6 @@
.status { .status {
vertical-align: 0%; vertical-align: 0%;
} }
.group-label {
text-transform: uppercase;
vertical-align: 5%;
padding: 4px;
border-radius: 2px;
}
} }
.bookmarked { .bookmarked {

Loading…
Cancel
Save