Skip to content
8 changes: 5 additions & 3 deletions web_src/css/markup/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,14 @@
position: relative;
line-height: 1.5rem;
min-height: 1.5rem; /* // to render a checkbox list without content `- [ ]`, we need this min-height to make sure the <li> can be visible */
display: flex;
align-items: center;
margin-left: -2em;
}

.markup .task-list-item input[type="checkbox"] {
position: absolute;
top: 0.25em;
left: -1.6em;
flex: 0 0 auto;
margin-right: .6em;
}

.markup .task-list-item p {
Expand Down