misc: Tweak comment vote design
This commit is contained in:
1 parent
563f1fce43
commit
d3ff9e37dc
12 files changed
+256
-94
No files matched your search
@@ -6,8 +6,9 @@
|
||||
</script>
|
||||
|
||||
<img
|
||||
src={`${url}?format=webp&thumbnail=${width * 2}` ??
|
||||
`https://api.dicebear.com/6.x/initials/svg?seed=${alt}`}
|
||||
src="{url ??
|
||||
`https://api.dicebear.com/6.x/initials/svg?seed=${alt}`}?format=webp&thumbnail={width *
|
||||
2}"
|
||||
{alt}
|
||||
{width}
|
||||
loading="lazy"
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
import {
|
||||
ArrowLeftOnRectangle,
|
||||
ArrowRightOnRectangle,
|
||||
Beaker,
|
||||
Cog6Tooth,
|
||||
GlobeAlt,
|
||||
Icon,
|
||||
@@ -92,6 +93,10 @@
|
||||
<span class="text-xs opacity-80 text-left mx-4 my-2">
|
||||
{$user ? $user.person_view.person.name : 'Profile'}
|
||||
</span>
|
||||
<MenuButton link href="/experiments">
|
||||
<Icon src={Beaker} mini width={16} />
|
||||
Experiments
|
||||
</MenuButton>
|
||||
{#if !$user || !$authData}
|
||||
<MenuButton link href="/login">
|
||||
<Icon src={ArrowLeftOnRectangle} mini width={16} /> Log in
|
||||
|
||||
Reference in new issue
Block a user