1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-27 22:38:11 +09:00

fix(accountHeadr): change to absolute (#167)

This commit is contained in:
Chris 2022-11-27 20:20:03 +08:00 committed by GitHub
parent 424c7cd529
commit 74e48ad99e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ watchEffect(() => {
<img h-50 w-full object-cover :src="account.header" @click="previewHeader">
</button>
<div p4 mt--17 flex flex-col gap-4>
<div flex justify-between>
<div relative>
<div flex="~ col gap-2 1">
<button w-30 h-30 rounded-full bg-gray border-4 border-bg-base z-2 @click="previewAvatar">
<AccountAvatar :account="account" hover:opacity-90 transition-opacity />
@ -88,7 +88,7 @@ watchEffect(() => {
<AccountHandle :account="account" />
</div>
</div>
<div flex gap-2 items-center>
<div absolute top="1/2" right-0 translate-y="-1/2" flex gap-2 items-center>
<AccountMoreButton :account="account" />
<AccountFollowButton :account="account" />
<!-- <button flex gap-1 items-center w-full rounded op75 hover="op100 text-purple" group>