fix: popover selection wrongly including line breaks

This commit is contained in:
Jacky Zhao 2022-04-05 22:43:11 -07:00
parent 887d4d4f5e
commit 12ed9722d8
2 changed files with 9 additions and 1 deletions

View file

@ -505,9 +505,17 @@ header {
opacity: 0; opacity: 0;
pointer-events: none; pointer-events: none;
transition: opacity 0.2s ease, transform 0.2s ease; transition: opacity 0.2s ease, transform 0.2s ease;
transition-delay: 0.3s; transition-delay: 0.1s;
user-select: none; user-select: none;
& > * {
display: none;
}
&.visible > * {
display: inline-block;
}
@media all and (max-width: 600px) { @media all and (max-width: 600px) {
display: none; display: none;
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 17 KiB