pengx17 / logseq-dev-theme

</> Logseq dev theme
https://pengx17.github.io/knowledge-garden/
MIT License
373 stars 65 forks source link

fix: fix block fold button on mobile #94

Closed UNICKCHENG closed 1 year ago

UNICKCHENG commented 1 year ago

Fix: https://github.com/pengx17/logseq-dev-theme/issues/90, https://github.com/pengx17/logseq-dev-theme/issues/86

main cause: position: relative;

The following code is mainly used for bullet threading.

.ls-block div.items-center {
  position: relative;
  height: 26px !important;
}

solution

Replace items-center with block-control-wrap for more precise positioning.

.ls-block div.block-control-wrap {
    position: relative;
    height: 26px !important;
}

image image

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 1.26.17 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: