Skip to content

Commit

Permalink
fix: popup not be able to scroll after 0.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 committed Aug 13, 2021
1 parent 2676e92 commit 476a5e3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
4 changes: 4 additions & 0 deletions src/_miscs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ samp {
font-size: 0.8em;
}

pre {
white-space: pre-wrap;
}

/* inline code */

:not(pre) > code {
Expand Down
20 changes: 6 additions & 14 deletions src/_popups.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,13 @@
overflow: visible;
display: flex;
flex-flow: column;
max-height: calc(100vh - 20px);
}

.tippy-tooltip-content > .tippy-wrapper > .page-blocks-inner {
overflow: auto;
height: -webkit-fill-available;
padding: 0.5em 1em 1em;
margin-top: 1.5em;
min-width: 450px;
}

.tippy-tooltip-content > .tippy-wrapper > .blocks-container {
margin-top: 1.5em;
padding: 0.5em 1em 1em;
min-width: 450px;
> div {
overflow: auto;
height: -webkit-fill-available;
padding: 1.5em 1em 1em;
min-width: 450px;
}
}

.tippy-popper .arrow-regular {
Expand Down

0 comments on commit 476a5e3

Please sign in to comment.