Skip to content

Commit

Permalink
fix: fix block fold button on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
UNICKCHENG committed May 13, 2023
1 parent 9b72ab5 commit 6b5a150
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
10 changes: 7 additions & 3 deletions src/_blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,13 @@ a:hover > .bullet-container .bullet {
margin-left: 0 !important;
}

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

// hovering block indicator
Expand Down
13 changes: 9 additions & 4 deletions src/bullet_threading.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,16 @@
box-shadow: 0 0 0 1px var(--ls-block-bullet-active-color);
}

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

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

/* Fix for headings like h1, h2 etc */
> .items-baseline {
align-items: initial;
Expand Down

1 comment on commit 6b5a150

@cybertosher
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to have broken the lines in Windows. They now have straight lines that come out of the bullet at each level instead of blending into the line.

Screenshot 2023-05-15 091018

Please sign in to comment.