Sidebar icons style fixes

This commit is contained in:
kvakazyambra 2023-10-26 00:00:48 +03:00
parent 6adbd573d9
commit 919c9ff7ea
2 changed files with 6 additions and 2 deletions

View File

@ -16,7 +16,7 @@
}
.sidebarItemName {
align-items: baseline;
align-items: center;
display: flex;
position: relative;
@ -26,6 +26,10 @@
}
}
.userpic {
margin-right: 1.2rem;
}
.selected {
font-weight: 700;
}

View File

@ -128,7 +128,7 @@ export const Sidebar = () => {
classList={{ [styles.unread]: checkAuthorIsSeen(author.slug) }}
>
<div class={styles.sidebarItemName}>
<Userpic name={author.name} userpic={author.userpic} />
<Userpic name={author.name} userpic={author.userpic} size="XS" class={styles.userpic} />
{author.name}
</div>
</a>