Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange interaction with the tasks in callout boxes breaking checkboxes. #93

Open
Hapadbeep24 opened this issue Jul 6, 2023 · 0 comments

Comments

@Hapadbeep24
Copy link

I noticed the other day while using this theme that tasks within callout boxes break the boxes. The checkbox is no longer visible, but still clickable, while a new uninteractible checkbox appears to the left edge of the callout box. I have identified the code blocks that are responsible, but I'm not sure how to fix them. The code blocks responsible are below:

`.contains-task-list .task-list-item {
position: relative;
vertical-align: middle;
box-sizing: border-box;
padding-left: 30px;
}

.contains-task-list .task-list-item input[type='checkbox'] {
position: relative;
top: 2px;
left: -8px;
width: 20px;
height: 20px;
margin: 0;
opacity: 0;
z-index: 10;
}`

Here are also images of the issue. This first one is if these code blocks are left alone:
image

And here is if I comment out or delete the two code blocks above:
image

Again, I'm not sure what is the problem as I've tweaked some of the numbers here and tried going from relative to absolute, but nothing short of getting rid of them entirely is working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant