UX: Tweak the checklist plugin css (#26577)

Fixes alignment of checboxes in posts. Removes unused styles.
This commit is contained in:
Jarek Radosz 2024-04-09 16:00:26 +02:00 committed by GitHub
parent f5c9e75438
commit 6cf7447cb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 17 deletions

View File

@ -22,14 +22,9 @@ span.chcklst-stroked {
}
span.chcklst-box {
&:not(.permanent) {
cursor: pointer;
}
&:before {
display: inline-block;
vertical-align: middle;
}
cursor: pointer;
display: inline-flex;
vertical-align: text-bottom;
&:not(.checked) {
&.fa-square-o {
@ -68,20 +63,18 @@ span.chcklst-box {
ul li.has-checkbox {
list-style-type: none;
position: relative;
}
.list-item-checkbox {
position: absolute;
left: -1.2em;
}
ul:has(li.has-checkbox) {
padding-left: 0;
}
.fa-spin {
display: inline-block;
vertical-align: middle;
margin-bottom: 0.25em;
display: inline-flex;
vertical-align: text-bottom;
animation: fa-spin 2s infinite linear;
width: 14px;
height: 17px;
width: 1em;
height: 1em;
}
@keyframes fa-spin {