diff --git a/package.json b/package.json index 5d0cb7d..a96a129 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ui", - "version": "6.3.37", + "version": "6.3.38", "license": "BUSL-1.1", "private": true, "packageManager": "pnpm@9.14.4", diff --git a/src/app.css b/src/app.css index ba2d8b4..3a4c018 100644 --- a/src/app.css +++ b/src/app.css @@ -166,18 +166,24 @@ a { color: #737373 !important; } -a[href]:active, -button:not([disabled], .no-scale):active, -.scale-parent:has(.no-scale:active), -fieldset:not([disabled]):active, -input:not([disabled], [type='range'], .no-scale):active, -optgroup:not([disabled]):active, -option:not([disabled]):active, -select:not([disabled]):active, -textarea:not([disabled]):active, -details:active, -[tabindex]:not([tabindex="-1"]):active, -[contenteditable]:active { +a[href], +button, +fieldset, +input, +optgroup, +option, +select, +textarea, +details, +[tabindex], +[contenteditable] { + &:active:not([disabled], [type='range'], .no-scale, [tabindex="-1"]) { + transition: all 0.1s ease-in-out; + transform: scale(0.98); + } +} + +.scale-parent:has(.no-scale:active) { transition: all 0.1s ease-in-out; transform: scale(0.98); } diff --git a/src/lib/components/ui/forums/Threads.svelte b/src/lib/components/ui/forums/Threads.svelte index ba886bf..17af739 100644 --- a/src/lib/components/ui/forums/Threads.svelte +++ b/src/lib/components/ui/forums/Threads.svelte @@ -8,8 +8,8 @@ import Pagination from '../../Pagination.svelte' import { Button } from '../button' - import { Profile } from '../profile' + import * as Avatar from '$lib/components/ui/avatar' import * as Tooltip from '$lib/components/ui/tooltip' import { client, type Media } from '$lib/modules/anilist' import { isMobile, since } from '$lib/utils' @@ -56,7 +56,7 @@
- + {thread.title ?? 'Thread ' + (thread.id)} @@ -78,7 +78,10 @@
{#if thread.user} - + + + {thread.user.name} + {/if} {since(new Date(thread.createdAt * 1000))}
diff --git a/src/lib/components/ui/menubar/menubar.svelte b/src/lib/components/ui/menubar/menubar.svelte index b8e5ec2..d603eac 100644 --- a/src/lib/components/ui/menubar/menubar.svelte +++ b/src/lib/components/ui/menubar/menubar.svelte @@ -10,13 +10,13 @@