forked from mirror/misskey
fix: add workaround for cat ears on iOS Safari
This commit is contained in:
parent
a529b0e5a3
commit
453574644c
@ -8,7 +8,9 @@
|
||||
|
||||
<template v-if="metadata">
|
||||
<div v-if="!hideTitle" :class="$style.titleContainer" @click="top">
|
||||
<MkAvatar v-if="metadata.avatar" :class="$style.titleAvatar" :user="metadata.avatar" indicator/>
|
||||
<div v-if="metadata.avatar" :class="$style.titleAvatarContainer">
|
||||
<MkAvatar :class="$style.titleAvatar" :user="metadata.avatar" indicator/>
|
||||
</div>
|
||||
<i v-else-if="metadata.icon" :class="[$style.titleIcon, metadata.icon]"></i>
|
||||
|
||||
<div :class="$style.title">
|
||||
@ -249,6 +251,11 @@ onUnmounted(() => {
|
||||
margin-left: 24px;
|
||||
}
|
||||
|
||||
.titleAvatarContainer {
|
||||
overflow: hidden;
|
||||
padding: 8px 0;
|
||||
}
|
||||
|
||||
.titleAvatar {
|
||||
$size: 32px;
|
||||
display: inline-block;
|
||||
|
Loading…
Reference in New Issue
Block a user