mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
style: uniformly switch pfp to round shape
This commit is contained in:
@@ -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'
|
||||
})
|
||||
|
||||
|
||||
@@ -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
|
||||
>
|
||||
{{
|
||||
|
||||
@@ -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" />
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user