classic view

This commit is contained in:
piuvas 2024-09-29 09:04:21 -03:00
parent 08711e144b
commit 4edce0cb48
No known key found for this signature in database
GPG key ID: 82743F52454C621D

View file

@ -41,7 +41,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<div class="divider"></div> <div class="divider"></div>
<div class="about"> <div class="about">
<button v-click-anime class="item _button" @click="openInstanceMenu"> <button v-click-anime class="item _button" @click="openInstanceMenu">
<img :src="instance.iconUrl ?? instance.faviconUrl ?? '/favicon.ico'" class="_ghost"/> <img :src="instance.sidebarLogoUrl && !iconOnly ? instance.sidebarLogoUrl : instance.iconUrl ?? instance.faviconUrl ?? '/favicon.ico'" :class="{ wideIcon: instance.sidebarLogoUrl && !iconOnly }" class="_ghost" />
</button> </button>
</div> </div>
<!--<MisskeyLogo class="misskey"/>--> <!--<MisskeyLogo class="misskey"/>-->
@ -180,12 +180,15 @@ watch(defaultStore.reactiveState.menuDisplay, () => {
> .item { > .item {
display: block; display: block;
width: 32px;
margin: 0 auto; margin: 0 auto;
img { img {
display: block; display: block;
width: 100%; width: 32px;
&.wideIcon {
width: 80%;
margin: 0 auto;
}
} }
} }
} }