logseq-dev-theme icon indicating copy to clipboard operation
logseq-dev-theme copied to clipboard

Bullet Threading Problems

Open zhengyu-yang opened this issue 3 years ago • 2 comments

  1. The location of the bullet of a heading block will change when activated (from the center to the top of a block). image image
  2. I feel that the thread outside a coding block should not extend along with the coding block. image

zhengyu-yang avatar Dec 16 '21 06:12 zhengyu-yang

The first issue is intended. This is because if I still draw the threading normally, it will go through the bullet like a kebab. So that as a workaround I moved the bullet to the top instead for headings. I do not have a proper way to solve this issue with CSS only 😅

For the second issue, I do not have an idea about how to fix it as well. However, this should be a small glitch we can ignore though, haha

pengx17 avatar Dec 16 '21 06:12 pengx17

For Part 2, I think I have a fix (which is also a fix for another issue I noticed where checking a TODO box creates the same weird extension):

.ls-block[haschild]:focus-within > div:focus-within > .block-content-wrapper::before {
    /*border-color: var(--ls-block-bullet-active-color)*/
    border-color: transparent
}

Tested it a little and doesn't seem to break anything else, but not 100% sure on that so would be good to check on. Can also make a PR for this if you'd like.

andyburris avatar Dec 08 '22 04:12 andyburris