style: uniformly switch pfp to round shape

This commit is contained in:
Hakadao
2023-06-28 14:29:15 +08:00
parent fb334508f7
commit dc662403ba
6 changed files with 14 additions and 14 deletions

View File

@@ -84,7 +84,7 @@ watch(() => accessKey.value, () => {
watch(() => settings.value.wallpaper, (newValue) => {
document.documentElement.style.backgroundImage = `url(${newValue})`
document.documentElement.style.backgroundSize = 'cover'
document.documentElement.style.backgroundAttachment = 'fixed'
// document.documentElement.style.backgroundAttachment = 'fixed'
document.documentElement.style.backgroundPosition = 'center'
})

View File

@@ -408,7 +408,7 @@ function jumpToLoginPage() {
items-center
cursor-pointer
w-fit
rounded="$bew-radius-half"
rounded="$bew-radius"
hover:color="$bew-theme-color"
hover:bg="$bew-theme-color-10"
duration-300
@@ -425,13 +425,13 @@ function jumpToLoginPage() {
:src="
removeHttpFromUrl(`${historyItem.author_face
? historyItem.author_face
: historyItem.cover}@80w_80h_1c`)
: historyItem.cover}@40w_40h_1c`)
"
w-30px
aspect-square
object-cover
alt=""
rounded="$bew-radius-half"
rounded="1/2"
mr-2
>
{{

View File

@@ -175,7 +175,7 @@ function jumpToLoginPage() {
>
<div aspect-video bg="$bew-fill-4" rounded="$bew-radius" />
<div flex mt-4>
<div m="r-4" w="48px" h="48px" rounded="$bew-radius" bg="$bew-fill-4" shrink-0 />
<div m="r-4" w="40px" h="40px" rounded="1/2" bg="$bew-fill-4" shrink-0 />
<div w-full>
<div grid gap-2>
<div w-full h-5 bg="$bew-fill-3" />

View File

@@ -203,7 +203,7 @@ function jumpToLoginPage() {
items-center
cursor-pointer
w-fit
rounded="$bew-radius-half"
rounded="$bew-radius"
hover:color="$bew-theme-color"
hover:bg="$bew-theme-color-10"
duration-300
@@ -212,12 +212,12 @@ function jumpToLoginPage() {
@click.stop=""
>
<img
:src="removeHttpFromUrl(`${item.owner.face}@80w_80h_1c`)"
:src="removeHttpFromUrl(`${item.owner.face}@40w_40h_1c`)"
w-30px
aspect-square
object-cover
alt=""
rounded="$bew-radius-half"
rounded="1/2"
mr-2
>
{{ item.owner.name }}