mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-22 22:15:12 +00:00
fix: add workaround for cat ears on iOS Safari
This commit is contained in:
parent
a529b0e5a3
commit
453574644c
1 changed files with 8 additions and 1 deletions
|
@ -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 a new issue