perf: use overflow: clip instead of hidden

This commit is contained in:
syuilo
2021-02-27 11:18:53 +09:00
parent 377b0399a0
commit 06e817af59
62 changed files with 217 additions and 105 deletions

View File

@@ -268,7 +268,8 @@ export default defineComponent({
--section-padding: 10px;
height: 100%;
overflow: hidden;
overflow: hidden; // overflow: clip; をSafariが対応したら消す
overflow: clip;
contain: content;
&.draghover {
@@ -358,7 +359,8 @@ export default defineComponent({
> .header {
display: inline-block;
align-items: center;
overflow: hidden;
overflow: hidden; // overflow: clip; をSafariが対応したら消す
overflow: clip;
text-overflow: ellipsis;
white-space: nowrap;
}