mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-03 19:57:19 +00:00
Merge "Truncate long usernames with an ellipsis"
This commit is contained in:
commit
a96dcb1099
|
@ -98,9 +98,13 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//User-page link in personal (overflow) menu.
|
/**
|
||||||
|
* User-page link in personal (overflow) menu.
|
||||||
|
*/
|
||||||
#pt-userpage-2 {
|
#pt-userpage-2 {
|
||||||
max-width: unit( 155 / @font-size-browser / @font-size-user-links, em );
|
max-width: unit( 155 / @font-size-browser / @font-size-user-links, em );
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
|
||||||
a:not( .mw-selflink ) {
|
a:not( .mw-selflink ) {
|
||||||
// T312157 Override redlink (.new) color for non-existant userpage
|
// T312157 Override redlink (.new) color for non-existant userpage
|
||||||
|
|
Loading…
Reference in a new issue