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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
62 changed files with 105 additions and 217 deletions

View file

@ -244,8 +244,7 @@ export default defineComponent({
font-size: 14px;
box-shadow: 0 0 0 1px var(--divider);
border-radius: 8px;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
overflow: hidden;
&:hover {
text-decoration: none;
@ -327,8 +326,7 @@ export default defineComponent({
&.compact {
> article {
> header h1, p, footer {
overflow: hidden; // overflow: clip; Safari
overflow: clip;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}