attempt text clipping bug fix

This commit is contained in:
Jill 2022-01-04 02:03:16 +03:00
parent c0796f1c85
commit 36d5f0d31a
1 changed files with 17 additions and 1 deletions

View File

@ -30,9 +30,11 @@
position: relative;
background-color: var(--fg, white);
width: calc(100% + 20px);
max-width: calc(100% + 20px);
left: -20px;
height: 38px;
display: flex;
flex-flow: row nowrap;
align-items: center;
justify-content: space-between;
padding-left: 10px;
@ -40,7 +42,8 @@
color: #000;
}
.difficulties {
flex: auto 1 1;
flex: 1 1 0px;
min-width: 0;
display: flex;
align-items: center;
justify-content: flex-start;
@ -49,6 +52,8 @@
display: flex;
align-items: center;
justify-content: flex-end;
flex: 0 0 auto;
max-width: 100%;
}
.buttonsreal a {
font-size: 34px;
@ -75,6 +80,11 @@
white-space: nowrap;
}
.difficultyrating {
flex: 0 0 auto;
max-width: 100%;
}
.difficulty-expert {
color: #8200a1;
}
@ -101,6 +111,12 @@
font-size: medium;
color: #333;
}
.difficultyname {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
min-width: 0;
}
.difficultyrating {
font-weight: bold;
}