Small chat dice fix

This commit is contained in:
Mandar
2021-03-02 02:26:25 +01:00
parent 035f982d7f
commit d043949b0f
3 changed files with 23 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@@ -2,21 +2,30 @@
.chat-dice { .chat-dice {
display: inline; display: inline;
position: relative; position: relative;
padding: 0.25rem; padding: 0;
margin: 0;
&:after { &:after {
content: ""; content: "";
position: absolute; position: absolute;
bottom: 0; bottom: 0;
right: 0; right: 0;
border-radius: 0.15rem; border-radius: 0.15rem;
padding: 0 0.1rem 0 0.15rem; padding: 0 0.225rem 0 0.15rem;
font-size: 0.65rem; font-size: 0.75em;
line-height: 1rem; line-height: 1rem;
width: 0.75rem; width: 1em;
text-align: center; text-align: center;
color: white; color: white;
background: transparent; background: transparent;
} }
&:last-of-type,
&:nth-child(6),
&:nth-child(12),
&:nth-child(18) {
&:after {
padding: 0 0.175rem 0 0.15rem;
}
}
&.rerolled { &.rerolled {
> img { > img {
border-bottom: 0 none; border-bottom: 0 none;
@@ -44,6 +53,10 @@
margin: auto; margin: auto;
} }
} }
td {
.chat-dice {
}
}
.chat-profil { .chat-profil {
text-align: center; text-align: center;

View File

@@ -291,7 +291,7 @@
bottom: 0; bottom: 0;
right: 0; right: 0;
border-radius: 0.15rem; border-radius: 0.15rem;
padding: 0 0.1rem 0 0.15rem; padding: 0 0.15rem;
font-size: 0.65rem; font-size: 0.65rem;
line-height: 1rem; line-height: 1rem;
width: 0.65rem; width: 0.65rem;
@@ -326,6 +326,7 @@
} }
} }
} }
tr:first-child .dice-ct { tr:first-child .dice-ct {
&:before { &:before {
display: none; display: none;
@@ -506,4 +507,7 @@
} }
} }
} }
#context-menu {
max-width: none;
}
} }