diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-11-05 08:25:08 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2023-11-05 08:25:08 +0900 |
| commit | 56401ed91c34a265fa5edcf5554cff3684ec3d98 (patch) | |
| tree | 6ff28ed388bb4bd4d617801a846967e31443e357 /packages | |
| parent | New Crowdin updates (#12241) (diff) | |
| download | sharkey-56401ed91c34a265fa5edcf5554cff3684ec3d98.tar.gz sharkey-56401ed91c34a265fa5edcf5554cff3684ec3d98.tar.bz2 sharkey-56401ed91c34a265fa5edcf5554cff3684ec3d98.zip | |
:art:
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/frontend/src/components/global/MkCondensedLine.vue | 8 | ||||
| -rw-r--r-- | packages/frontend/src/pages/settings/profile.vue | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/packages/frontend/src/components/global/MkCondensedLine.vue b/packages/frontend/src/components/global/MkCondensedLine.vue index ef1c931bc3..2ed615f5ff 100644 --- a/packages/frontend/src/components/global/MkCondensedLine.vue +++ b/packages/frontend/src/components/global/MkCondensedLine.vue @@ -18,10 +18,10 @@ interface Props { const contentSymbol = Symbol(); const observer = new ResizeObserver((entries) => { - const results: { - container: HTMLSpanElement; - transform: string; - }[] = []; + const results: { + container: HTMLSpanElement; + transform: string; + }[] = []; for (const entry of entries) { const content = (entry.target[contentSymbol] ? entry.target : entry.target.firstElementChild) as HTMLSpanElement; const props: Required<Props> = content[contentSymbol]; diff --git a/packages/frontend/src/pages/settings/profile.vue b/packages/frontend/src/pages/settings/profile.vue index 2ac8d15545..f6e387da52 100644 --- a/packages/frontend/src/pages/settings/profile.vue +++ b/packages/frontend/src/pages/settings/profile.vue @@ -94,7 +94,7 @@ SPDX-License-Identifier: AGPL-3.0-only :class="[$style.avatarDecoration, { [$style.avatarDecorationActive]: $i.avatarDecorations.some(x => x.id === avatarDecoration.id) }]" @click="openDecoration(avatarDecoration)" > - <div :class="$style.avatarDecorationName"><MkCondensedLine :minScale="2 / 3">{{ avatarDecoration.name }}</MkCondensedLine></div> + <div :class="$style.avatarDecorationName"><MkCondensedLine :minScale="0.5">{{ avatarDecoration.name }}</MkCondensedLine></div> <MkAvatar style="width: 60px; height: 60px;" :user="$i" :decoration="{ url: avatarDecoration.url }" forceShowDecoration/> <i v-if="avatarDecoration.roleIdsThatCanBeUsedThisDecoration.length > 0 && !$i.roles.some(r => avatarDecoration.roleIdsThatCanBeUsedThisDecoration.includes(r.id))" :class="$style.avatarDecorationLock" class="ti ti-lock"></i> </div> |