Notebooks: Fix callout dialog being cut off at the bottom of the document (#14579)

* add above position for callout dialog

* use if else
This commit is contained in:
Lucy Zhang
2021-03-05 15:23:44 -08:00
committed by GitHub
parent 733c3628a1
commit f125b9b2c7
7 changed files with 31 additions and 13 deletions

View File

@@ -48,6 +48,12 @@
top: -0.2em;
transform: rotate(135deg);
}
.callout-arrow.from-above:before {
border-width: 0.5em;
left: 2em;
bottom: -0.2em;
transform: rotate(-45deg);
}
.callout-arrow.from-left:before {
background-color: var(--bodybackground);
height: 26px;