feat: don't show bullet points of checklists
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e17116dac1
commit
2691a84610
|
@ -417,6 +417,7 @@ export default {
|
||||||
for (const check of textCheckbox) {
|
for (const check of textCheckbox) {
|
||||||
check.removeEventListener('change', this.handleCheckboxClick)
|
check.removeEventListener('change', this.handleCheckboxClick)
|
||||||
check.addEventListener('change', this.handleCheckboxClick)
|
check.addEventListener('change', this.handleCheckboxClick)
|
||||||
|
check.parentElement.classList.add('has-checkbox')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -470,8 +471,15 @@ export default {
|
||||||
.preview.content {
|
.preview.content {
|
||||||
margin-bottom: .5rem;
|
margin-bottom: .5rem;
|
||||||
|
|
||||||
ul li input[type="checkbox"] {
|
ul li {
|
||||||
margin-right: .5rem;
|
input[type="checkbox"] {
|
||||||
|
margin-right: .5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.has-checkbox {
|
||||||
|
margin-left: -2em;
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue
Block a user