Skip to content

Commit

Permalink
fix(bug): "wide view" > The display is broken #47
Browse files Browse the repository at this point in the history
  • Loading branch information
YU000jp committed Jan 16, 2024
1 parent 5114bcb commit 72f874f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/wide.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ body[data-page="page"] {
}

&#tocInPage {
font-size: .88em;
font-size: .86em;
padding-bottom: 2em;
padding-left: 1em;
padding-right: .8em;
padding-left: 0.3em;
padding-right: 1.3em;
user-select: none;

& h1,
Expand Down Expand Up @@ -108,21 +108,21 @@ body[data-page="page"] {
margin-top: unset;
}

&:has(>div.content+div.initial) {
&:has(div.content+div.initial) {
flex: .3;
min-width: 300px;
max-width: fit-content;
}

&:not(#today-queries):has(div.content>div.flex>div.content+div.hidden),
&.lazy-visibility:has(>div>div.fade-enter-active>div.scheduled-or-deadlines>div.flex>div.content+div.hidden),
&:is(.page-hierarchy, .th-toc):has(div.flex>div.content+div.hidden) {
&.lazy-visibility:has(div>div.fade-enter-active>div.scheduled-or-deadlines>div.flex>div.content+div.hidden),
&:is(.page-hierarchy,.th-toc):has(div.flex>div.content+div.hidden) {
writing-mode: vertical-rl;
max-width: 3.2em;
}

}


&>div.page-unlinked.mt-6 {
margin-top: unset;
}
Expand Down

0 comments on commit 72f874f

Please sign in to comment.