Daemonite / Daemonite/discourse-material-theme

Rendered checkboxes in post content slightly off

Open
#15 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
CSS
Stars
22
Forks
26
PR merge metrics
No merged PRs in 30d

Description

## Problem
The checkboxes rendered by the [Discourse checklist rendering plugin](https://github.com/discourse/discourse-checklist) by writing down `[]` or `[x]` in the markup are slightly off.

![image](https://user-images.githubusercontent.com/453543/51087159-99b2d500-174f-11e9-8b80-5c820021fc11.png)

## Workaround
```css
/* Fix DMT#15: Checkboxes slightly off */
.contents span.chcklst-box::before {
display: inline-flex;
margin-right: 0.1rem;
margin-bottom: 0.1rem;
}
```
![image](https://user-images.githubusercontent.com/453543/51087175-b818d080-174f-11e9-85a3-ce0f15cab873.png)

Thank you in advance for your attention.

Contributor guide

No contributing guide indexed for this repository

Research direction

No theme file or test is named in the issue. Start by locating the stylesheet that controls post-content checklist boxes, compare the rendering with the supplied workaround, and verify visually that unchecked and checked boxes align correctly without the workaround being needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.