mirror of https://github.com/bra1n/townsquare.git
added a max width and overflow hidden to the pronouns tooltip to stop it getting too long
This commit is contained in:
parent
b9bd77789a
commit
f670193fba
|
@ -675,6 +675,7 @@ li.move:not(.from) .player .overlay svg.move {
|
||||||
.pronouns {
|
.pronouns {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
max-width: 250px;
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
left: 110%;
|
left: 110%;
|
||||||
font-size: 80%;
|
font-size: 80%;
|
||||||
|
@ -687,6 +688,7 @@ li.move:not(.from) .player .overlay svg.move {
|
||||||
align-content: center;
|
align-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
overflow: hidden;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity 200ms ease-in-out;
|
transition: opacity 200ms ease-in-out;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue