perf: use overflow: clip instead of overflow: hidden (#9443)

* use overflow: clip

* revert
This commit is contained in:
tamaina
2023-01-02 12:15:26 +09:00
committed by GitHub
parent d98771711f
commit 46c2706b7e
10 changed files with 12 additions and 12 deletions

View File

@@ -384,7 +384,7 @@ onBeforeUnmount(() => {
position: fixed;
max-width: 100%;
margin-top: calc(1em + 8px);
overflow: hidden;
overflow: clip;
transition: top 0.1s ease, left 0.1s ease;
> ol {
@@ -401,7 +401,7 @@ onBeforeUnmount(() => {
align-items: center;
padding: 4px 12px;
white-space: nowrap;
overflow: hidden;
overflow: clip;
font-size: 0.9em;
cursor: default;