Skip to content

tags like checked type #181

@pokorny-mi

Description

@pokorny-mi

Hi,
I'm not entirely sure how your theme handles things internally, but I’ve noticed one issue.

I’m using the following CSS file to style checkboxes with green/red colors:

/* CHECKBOX: Green / Red color */

.markdown-preview-view .task-list-item-checkbox{
-webkit-appearance: none;
box-sizing: border-box;
border: 1px solid var(--text-muted);
border-radius: 2px;
position: relative;
width: 1.1em;
height: 1.1em;
margin: 0;
outline: none;
margin-right: 4px;
margin-bottom: 2px;
cursor: pointer;
vertical-align: baseline;
background-color: #d068688f;
}

.markdown-preview-view .task-list-item-checkbox:checked {
background-color: #68d0688f;
}

However, your task tags seem to be rendered in a way that makes them appear as if they’re already checked. As a result, they show up in green instead of their default color. That’s a bit unfortunate.

Could you please fix this, or let me know how I can adjust my CSS to avoid this behavior?
(Please don’t just tell me to stop using this CSS — I’d prefer to keep it if possible!)

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions