Daemonite / discourse-material-theme

Material Design for Discourse
MIT License
21 stars 28 forks source link

Rendered checkboxes in post content slightly off #15

Open amotl opened 5 years ago

amotl commented 5 years ago

Problem

The checkboxes rendered by the Discourse checklist rendering plugin by writing down [] or [x] in the markup are slightly off.

image

Workaround

/* Fix DMT#15: Checkboxes slightly off */
.contents span.chcklst-box::before {
    display: inline-flex;
    margin-right: 0.1rem;
    margin-bottom: 0.1rem;
}

image

Thank you in advance for your attention.

amotl commented 5 years ago

Remark

As this is actually related to an interaction between two addons of Discourse, we don't really know where to file this. Hope it's okay to anchor it just here and put references to this item elsewhere.

Let's already do this and reference the canonical Discourse topic »Checklist Plugin - Interactive Checkboxes made Simple« from here. We believe some bot will automatically add a pingback to the topic?