feat: improve theming
This commit is contained in:
parent
63dbfa2a0d
commit
32910d2077
9 changed files with 32 additions and 17 deletions
|
@ -1,5 +1,6 @@
|
|||
<template>
|
||||
<NuxtImg v-if="displayAvatar"
|
||||
id="display-avatar"
|
||||
:src="displayAvatar"
|
||||
:alt="displayName" />
|
||||
<Icon v-else
|
||||
|
@ -36,4 +37,10 @@ if (user) {
|
|||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
#display-avatar {
|
||||
border-radius: var(--pfp-radius);
|
||||
}
|
||||
</style>
|
|
@ -225,7 +225,6 @@ function getDayDifference(date1: Date, date2: Date) {
|
|||
|
||||
.message-author-avatar {
|
||||
width: 100%;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.left-column {
|
||||
|
|
|
@ -37,6 +37,5 @@ const displayName = props.user.display_name || props.user.username
|
|||
.user-avatar {
|
||||
width: 2.3em;
|
||||
height: 2.3em;
|
||||
border-radius: 50%;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue