From e393ab6044074a00c1158881effaf2b35702d5ab Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 3 Jul 2022 16:17:31 +0900 Subject: [PATCH] fix(client): style tweak for ios --- .../src/components/drive-file-thumbnail.vue | 2 +- packages/client/src/components/form/range.vue | 2 +- packages/client/src/components/marquee.vue | 2 +- .../client/src/components/note-preview.vue | 2 +- .../client/src/components/note-simple.vue | 2 +- packages/client/src/components/note.vue | 2 +- packages/client/src/components/tag-cloud.vue | 2 +- packages/client/src/components/toast.vue | 2 +- packages/client/src/components/ui/button.vue | 2 +- .../client/src/components/ui/container.vue | 25 ++++++++++--------- packages/client/src/components/ui/modal.vue | 2 +- packages/client/src/pages/about-misskey.vue | 2 +- packages/client/src/pages/about.vue | 2 +- packages/client/src/pages/admin/overview.vue | 4 +-- .../client/src/pages/antenna-timeline.vue | 2 +- .../client/src/pages/settings/profile.vue | 2 +- packages/client/src/pages/settings/theme.vue | 2 +- packages/client/src/pages/timeline.vue | 2 +- .../client/src/pages/user-list-timeline.vue | 2 +- .../client/src/pages/user/index.photos.vue | 2 +- .../client/src/pages/welcome.entrance.a.vue | 2 +- packages/client/src/style.scss | 2 +- .../client/src/ui/_common_/statusbars.vue | 2 +- packages/client/src/ui/classic.vue | 2 +- 24 files changed, 37 insertions(+), 36 deletions(-) diff --git a/packages/client/src/components/drive-file-thumbnail.vue b/packages/client/src/components/drive-file-thumbnail.vue index b346585ce..16c77f726 100644 --- a/packages/client/src/components/drive-file-thumbnail.vue +++ b/packages/client/src/components/drive-file-thumbnail.vue @@ -59,7 +59,7 @@ const isThumbnailAvailable = computed(() => { display: flex; background: var(--panel); border-radius: 8px; - overflow: clip; + overflow: hidden; overflow: clip; > .icon-sub { position: absolute; diff --git a/packages/client/src/components/form/range.vue b/packages/client/src/components/form/range.vue index 387ad26f3..f87b92183 100644 --- a/packages/client/src/components/form/range.vue +++ b/packages/client/src/components/form/range.vue @@ -189,7 +189,7 @@ const onMousedown = (ev: MouseEvent | TouchEvent) => { height: 3px; background: rgba(0, 0, 0, 0.1); border-radius: 999px; - overflow: clip; + overflow: hidden; overflow: clip; > .highlight { position: absolute; diff --git a/packages/client/src/components/marquee.vue b/packages/client/src/components/marquee.vue index 468503351..e7d6f20ed 100644 --- a/packages/client/src/components/marquee.vue +++ b/packages/client/src/components/marquee.vue @@ -76,7 +76,7 @@ export default { diff --git a/packages/client/src/pages/user-list-timeline.vue b/packages/client/src/pages/user-list-timeline.vue index 593db1dea..3fca6f141 100644 --- a/packages/client/src/pages/user-list-timeline.vue +++ b/packages/client/src/pages/user-list-timeline.vue @@ -103,7 +103,7 @@ definePageMetadata(computed(() => list ? { > .tl { background: var(--bg); border-radius: var(--radius); - overflow: clip; + overflow: hidden; overflow: clip; } &.min-width_800px { diff --git a/packages/client/src/pages/user/index.photos.vue b/packages/client/src/pages/user/index.photos.vue index 79dd1726e..cedb0e05f 100644 --- a/packages/client/src/pages/user/index.photos.vue +++ b/packages/client/src/pages/user/index.photos.vue @@ -90,7 +90,7 @@ export default defineComponent({ > .img { height: 128px; border-radius: 6px; - overflow: clip; + overflow: hidden; overflow: clip; } } diff --git a/packages/client/src/pages/welcome.entrance.a.vue b/packages/client/src/pages/welcome.entrance.a.vue index 8ff7d9057..457e38cb2 100644 --- a/packages/client/src/pages/welcome.entrance.a.vue +++ b/packages/client/src/pages/welcome.entrance.a.vue @@ -275,7 +275,7 @@ function showMenu(ev) { -webkit-backdrop-filter: var(--blur, blur(15px)); backdrop-filter: var(--blur, blur(15px)); border-radius: 999px; - overflow: clip; + overflow: hidden; overflow: clip; width: 800px; padding: 8px 0; diff --git a/packages/client/src/style.scss b/packages/client/src/style.scss index 94b5dd8cb..5bd88d5c4 100644 --- a/packages/client/src/style.scss +++ b/packages/client/src/style.scss @@ -260,7 +260,7 @@ hr { ._panel { background: var(--panel); border-radius: var(--radius); - overflow: clip; + overflow: hidden; overflow: clip; } ._block { diff --git a/packages/client/src/ui/_common_/statusbars.vue b/packages/client/src/ui/_common_/statusbars.vue index 86d2812f5..11912e141 100644 --- a/packages/client/src/ui/_common_/statusbars.vue +++ b/packages/client/src/ui/_common_/statusbars.vue @@ -52,7 +52,7 @@ const XUserList = defineAsyncComponent(() => import('./statusbar-user-list.vue') width: 100%; line-height: var(--height); height: var(--height); - overflow: clip; + overflow: hidden; overflow: clip; contain: strict; > .name { diff --git a/packages/client/src/ui/classic.vue b/packages/client/src/ui/classic.vue index 412b6db34..310232aec 100644 --- a/packages/client/src/ui/classic.vue +++ b/packages/client/src/ui/classic.vue @@ -241,7 +241,7 @@ onMounted(() => { border-left: solid 1px var(--divider); border-right: solid 1px var(--divider); border-radius: 0; - overflow: clip; + overflow: hidden; overflow: clip; --margin: 12px; }