Revert "perf: use overflow: clip instead of hidden" (#7273)

This reverts commit 06e817af59.
This commit is contained in:
tamaina
2021-03-02 22:57:16 +09:00
committed by GitHub
parent 490692316e
commit 2154354a4f
62 changed files with 105 additions and 217 deletions

View File

@@ -241,8 +241,7 @@ hr {
border-radius: var(--radius);
//border: var(--panelBorder);
box-shadow: var(--panelShadow);
overflow: hidden; // overflow: clip; をSafariが対応したら消す
overflow: clip;
overflow: hidden;
}
._card {
@@ -458,14 +457,6 @@ hr {
opacity: 0.7;
}
// TODO: refactor: 全てのvueファイル中の text-overflow: ellipsis; している箇所をこのクラスを使って置き換える
._oneline {
white-space: nowrap;
overflow: hidden; // overflow: clip; をSafariが対応したら消す
overflow: clip;
text-overflow: ellipsis;
}
._monospace {
font-family: Fira code, Fira Mono, Consolas, Menlo, Courier, monospace;
}