obsidian icon indicating copy to clipboard operation
obsidian copied to clipboard

Default check marks still visible in alternate checkboxes

Open John-Miller12 opened this issue 2 years ago • 1 comments

Screenshot 2022-12-08 121403

Hello, and thanks to Cecilia and any other contributors!!

App version: v1.0.3 Theme version: Up-to-date per obsidian

Ever since updating to v1.0.3, I am seeing small check marks on top of the custom icons, my favorite feature of this theme. I have attempted to locate the issue in the theme CSS, but I lack the skill needed in this language to ID the issue. In my .obsidian/Themes folder, I see only the folder "Primary" which contains manifest.json and theme.css. I do not have anything in my snippets folder.

Any support is appreciated!!

John-Miller12 avatar Dec 08 '22 18:12 John-Miller12

hi i know I'm 2 years late but this might help you add this to .obsidian\snippets\ name it anything .css

/* Hide check marks */
input[type=checkbox]:checked::after {
  display: none !important;
}
/* Hide undesirable borders */
.HyperMD-list-line input[type="checkbox"]:checked {
  border: none !important;
}
/* Disable strike-through in markdown mode */
.markdown-source-view.mod-cm6 .HyperMD-task-line[data-task="x"], .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task="X"] {
  text-decoration: unset;
  color: var(--text-faint);
}

/* Disable strike-through in preview mode */
ul > li.task-list-item[data-task="x"], ul > li.task-list-item[data-task="X"] {
  text-decoration: unset;
  color: var(--text-faint);
}

slow47 avatar Mar 19 '24 21:03 slow47

I'm not sure if this is the right place to ask but I'm having trouble with these alternative checkboxes, no matter what syntax I put in there it just shows up as a regularly ticked box (with no strikethrough). This looks really helpful for organizing certain parts of my notes, I'd be super grateful if someone could help me figure out what's not working.

https://github.com/user-attachments/assets/77739e64-a650-414a-8b8f-750897414c8b

Mack127444 avatar Jul 28 '24 19:07 Mack127444

@Mack127444 hey there! v2.8.0 is out publicly and the alternative checkboxes should work. during your time of posting it wasn't out publicly yet but i understand you might've gotten the idea from the doc site or from my posts (which were for beta users). thank you so much for reporting tho! will close this now :)

ceciliamay avatar Jul 31 '24 11:07 ceciliamay