revert: "fix(ui): account info responsive design (#212)"

This reverts commit 0ba7002d62.
pull/216/head
三咲智子 2022-11-29 13:53:31 +08:00
rodzic f1f7462ec0
commit db47e31597
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 69992F2250DFD93E
2 zmienionych plików z 2 dodań i 4 usunięć

Wyświetl plik

@ -15,11 +15,11 @@ defineOptions({
<!-- TODO: Make this work for both buttons and links -->
<!-- This is sometimes (like in the sidebar) used directly as a button, and sometimes, like in follow notifications, as a link. I think this component may need a second refactor that either lets an implementation pass in a link or an action and adapt to what's passed in, or the implementations need to be updated to wrap in the action they want to take and this be just the layout for these items -->
<template>
<component :is="as" flex gap-3 md:flex="col" v-bind="$attrs">
<component :is="as" flex gap-3 v-bind="$attrs">
<AccountHoverWrapper :disabled="!hoverCard" :account="account">
<AccountAvatar :account="account" w-12 h-12 />
</AccountHoverWrapper>
<div flex="~ col" break-words>
<div flex="~ col">
<ContentRich font-bold :content="getDisplayName(account, { rich: true })" :emojis="account.emojis" />
<AccountHandle :account="account" text-sm />
</div>

Wyświetl plik

@ -29,8 +29,6 @@
<button
m5 p2 rounded-full text-start w-full
hover:bg-active cursor-pointer transition-100
md:m-0
md:p-5
>
<AccountInfo :account="currentUser.account" />
</button>