Skip to content

Commit

Permalink
fix(threading): fix threading for block views
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 committed Jun 30, 2021
1 parent 7182530 commit 0a7f3ef
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ div.items-center::after,
display: none;
}

.ls-block:not([level="1"]) > div > div.items-center::before {
.ls-block > div > div.items-center::before {
content: "";
height: 100%;
left: -2px;
Expand All @@ -299,11 +299,17 @@ div.items-center::after,
border-bottom-left-radius: 6px;
}

.ls-block:not([level="1"]):focus-within > div > div.items-center::before {
.blocks-container > .ls-block > div > div.items-center::before,
.blocks-container > .ls-block:focus-within > div > div.items-center::after,
.blocks-container > .block-children:focus-within > .ls-block::before {
display: none;
}

.ls-block:focus-within > div > div.items-center::before {
border-color: var(--ct-page-reference-color);
}

.ls-block:not([level="1"]) > div > div.items-center::after {
.ls-block > div > div.items-center::after {
content: "";
height: calc(100% - 4px);
width: 2px;
Expand All @@ -313,7 +319,7 @@ div.items-center::after,
background-color: transparent;
}

.ls-block:not([level="1"]):focus-within > div > div.items-center::after {
.ls-block:focus-within > div > div.items-center::after {
background-color: var(--ct-page-reference-color);
}

Expand Down

0 comments on commit 0a7f3ef

Please sign in to comment.