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

View File

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