fix(mobile): meet the 24px tap-target floor across the app
Session A measured 159 targets under the WCAG 2.5.8 minimum on 42 routes; this brings that to zero. Mostly one-line spacing changes: small caption labels and text links were 14-21px tall because shadcn Label/Button use leading-none and bare text links carry no vertical padding. - shared Dialog close button: p-1 with right-3/top-3 so the 24px hit box keeps the icon where it was - tour card: Skip all tours (13 routes), All boards on standings cards (6) - detail pages: 27 Back links, journals All journals, wiki category links, voiceover card titles, factions batch link - dashboard: 7 View all / View full record links - account preferences: mute rows min-h-6, radio and tours labels, plus contacts filter labels and the campaigns show-completed label - ribbon studio: mirror label and stripe/module remove buttons - helpdesk ticket titles, radio tick-sound label
This commit is contained in:
parent
61535aba58
commit
9c3870cf79
40 changed files with 61 additions and 55 deletions
|
|
@ -68,7 +68,7 @@ export default async function TicketPage({ params }: TicketPageProps) {
|
|||
<div className="flex flex-col gap-3">
|
||||
<Link
|
||||
href="/helpdesk"
|
||||
className="flex w-fit items-center gap-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
className="flex w-fit items-center gap-1 py-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
>
|
||||
<ArrowLeftIcon className="size-3" />
|
||||
Helpdesk
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@ export default async function CampaignDetailPage({ params }: CampaignDetailPageP
|
|||
<div className="absolute top-0 left-0 px-5 pt-5 pb-3 z-10">
|
||||
<Link
|
||||
href="/intelligence/campaigns"
|
||||
className="flex w-fit items-center gap-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
className="flex w-fit items-center gap-1 py-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
>
|
||||
<ArrowLeftIcon className="size-3" />
|
||||
Back to Campaigns
|
||||
|
|
@ -335,7 +335,7 @@ export default async function CampaignDetailPage({ params }: CampaignDetailPageP
|
|||
</div>
|
||||
<Link
|
||||
href="/intelligence/factions"
|
||||
className="text-xs text-muted-foreground hover:text-primary transition-colors"
|
||||
className="py-1 text-xs text-muted-foreground hover:text-primary transition-colors"
|
||||
>
|
||||
View all
|
||||
</Link>
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ export default async function FactionDetailPage({ params }: FactionDetailPagePro
|
|||
<div className="absolute top-0 left-0 px-5 pt-5 pb-3 z-10">
|
||||
<Link
|
||||
href="/intelligence/factions"
|
||||
className="flex w-fit items-center gap-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
className="flex w-fit items-center gap-1 py-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
>
|
||||
<ArrowLeftIcon className="size-3" />
|
||||
Back to Factions
|
||||
|
|
@ -262,7 +262,7 @@ export default async function FactionDetailPage({ params }: FactionDetailPagePro
|
|||
<div className="flex items-center justify-between gap-2">
|
||||
<Link
|
||||
href={`/intelligence/factions/${target.id}`}
|
||||
className="flex items-center gap-2 text-sm font-medium hover:text-primary transition-colors"
|
||||
className="flex items-center gap-2 py-1 text-sm font-medium hover:text-primary transition-colors"
|
||||
>
|
||||
<ShieldIcon className="size-4 text-muted-foreground" />
|
||||
<span>{target.name}</span>
|
||||
|
|
@ -357,7 +357,7 @@ export default async function FactionDetailPage({ params }: FactionDetailPagePro
|
|||
</div>
|
||||
<Link
|
||||
href={`/logistics/banking/${bankAccount.id}`}
|
||||
className="text-xs text-muted-foreground hover:text-primary transition-colors"
|
||||
className="py-1 text-xs text-muted-foreground hover:text-primary transition-colors"
|
||||
>
|
||||
View
|
||||
</Link>
|
||||
|
|
|
|||
|
|
@ -335,7 +335,7 @@ export default async function MissionDetailPage({ params }: MissionDetailPagePro
|
|||
<div className="absolute top-0 left-0 z-20 px-5 pt-5 pb-3">
|
||||
<Link
|
||||
href="/intelligence/missions"
|
||||
className="flex w-fit items-center gap-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
className="flex w-fit items-center gap-1 py-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
>
|
||||
<ArrowLeftIcon className="size-3" />
|
||||
Back to Missions
|
||||
|
|
@ -616,7 +616,7 @@ export default async function MissionDetailPage({ params }: MissionDetailPagePro
|
|||
</div>
|
||||
<Link
|
||||
href={`/intelligence/campaigns/${campaign.id}`}
|
||||
className="text-xs text-muted-foreground hover:text-primary transition-colors"
|
||||
className="py-1 text-xs text-muted-foreground hover:text-primary transition-colors"
|
||||
>
|
||||
View
|
||||
</Link>
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ export default async function JournalDetailPage({
|
|||
<div className="mx-auto max-w-3xl px-4 py-10">
|
||||
<Link
|
||||
href="/journals"
|
||||
className="inline-flex items-center gap-1.5 text-sm text-muted-foreground transition-colors hover:text-foreground"
|
||||
className="inline-flex items-center gap-1.5 py-1 text-sm text-muted-foreground transition-colors hover:text-foreground"
|
||||
>
|
||||
<ArrowLeftIcon className="size-4" />
|
||||
All journals
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ export default async function GameVehicleDetailPage({ params }: GameVehicleDetai
|
|||
<div className="p-5 flex flex-col gap-6 max-w-7xl">
|
||||
<Link
|
||||
href="/logistics/game-vehicles"
|
||||
className="text-sm text-muted-foreground hover:text-primary transition-colors flex items-center gap-1 w-fit"
|
||||
className="py-1 text-sm text-muted-foreground hover:text-primary transition-colors flex items-center gap-1 w-fit"
|
||||
>
|
||||
<ArrowLeftIcon className="size-3" />
|
||||
Back to Vehicles
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ export default async function ResourceDetailPage({ params }: ResourceDetailPageP
|
|||
<div className="p-5 flex flex-col gap-6 max-w-7xl">
|
||||
<Link
|
||||
href="/logistics/resources"
|
||||
className="text-sm text-muted-foreground hover:text-primary transition-colors flex items-center gap-1 w-fit"
|
||||
className="py-1 text-sm text-muted-foreground hover:text-primary transition-colors flex items-center gap-1 w-fit"
|
||||
>
|
||||
<ArrowLeftIcon className="size-3" />
|
||||
Back to Resources
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ export default async function ShipmentDetailPage({ params }: ShipmentDetailPageP
|
|||
<div className="p-5 flex flex-col gap-6 max-w-7xl">
|
||||
<Link
|
||||
href="/logistics/shipments"
|
||||
className="text-sm text-muted-foreground hover:text-primary transition-colors flex items-center gap-1 w-fit"
|
||||
className="py-1 text-sm text-muted-foreground hover:text-primary transition-colors flex items-center gap-1 w-fit"
|
||||
>
|
||||
<ArrowLeftIcon className="size-3" />
|
||||
Back to Shipments
|
||||
|
|
|
|||
|
|
@ -340,7 +340,7 @@ export default async function StructureDetailPage({ params }: StructureDetailPag
|
|||
|
||||
<Link
|
||||
href="/logistics"
|
||||
className="relative z-10 text-sm text-muted-foreground hover:text-primary transition-colors flex items-center gap-1 w-fit"
|
||||
className="relative z-10 py-1 text-sm text-muted-foreground hover:text-primary transition-colors flex items-center gap-1 w-fit"
|
||||
>
|
||||
<ArrowLeftIcon className="size-3" />
|
||||
Back to Structures
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ export default async function VehicleDetailPage({ params }: VehicleDetailPagePro
|
|||
<div className="p-5 flex flex-col gap-6 max-w-7xl">
|
||||
<Link
|
||||
href="/logistics/vehicles"
|
||||
className="text-sm text-muted-foreground hover:text-primary transition-colors flex items-center gap-1 w-fit"
|
||||
className="py-1 text-sm text-muted-foreground hover:text-primary transition-colors flex items-center gap-1 w-fit"
|
||||
>
|
||||
<ArrowLeftIcon className="size-3" />
|
||||
Back to Vehicles
|
||||
|
|
|
|||
|
|
@ -469,7 +469,7 @@ export default async function ProfilePage({ params }: ProfilePageProps) {
|
|||
<div className="p-5 flex flex-col gap-6 max-w-7xl">
|
||||
<Link
|
||||
href="/"
|
||||
className="text-sm text-muted-foreground hover:text-primary transition-colors flex items-center gap-1 w-fit"
|
||||
className="py-1 text-sm text-muted-foreground hover:text-primary transition-colors flex items-center gap-1 w-fit"
|
||||
>
|
||||
<ArrowLeftIcon className="size-3" />
|
||||
Back
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ export default async function SurveyDetailPage({
|
|||
<div className="flex flex-col gap-3">
|
||||
<Link
|
||||
href="/surveys"
|
||||
className="flex w-fit items-center gap-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
className="flex w-fit items-center gap-1 py-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
>
|
||||
<ArrowLeftIcon className="size-3" />
|
||||
Surveys
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ export default async function VoiceoverScriptPage({
|
|||
<div className="flex min-w-0 flex-col gap-6 p-5">
|
||||
<Link
|
||||
href="/voiceover"
|
||||
className="flex w-fit items-center gap-1 text-sm text-muted-foreground transition-colors hover:text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
||||
className="flex w-fit items-center gap-1 py-1 text-sm text-muted-foreground transition-colors hover:text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
||||
>
|
||||
<ArrowLeftIcon className="size-3" />
|
||||
Voiceover scripts
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ function ScriptCard({ script }: { readonly script: VoiceoverScriptView }) {
|
|||
{isRecordable || isDraft ? (
|
||||
<Link
|
||||
href={`/voiceover/${script.id}`}
|
||||
className="rounded-sm outline-none transition-colors hover:text-primary focus-visible:ring-2 focus-visible:ring-ring"
|
||||
className="inline-block rounded-sm py-1 outline-none transition-colors hover:text-primary focus-visible:ring-2 focus-visible:ring-ring"
|
||||
>
|
||||
{script.title}
|
||||
</Link>
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ export default async function EditWikiPage({
|
|||
<div className="flex flex-col gap-6 p-5">
|
||||
<Link
|
||||
href={`/wiki/${page.slug}`}
|
||||
className="flex w-fit items-center gap-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
className="flex w-fit items-center gap-1 py-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
>
|
||||
<ArrowLeftIcon className="size-3" />
|
||||
Back to page
|
||||
|
|
@ -81,7 +81,7 @@ export default async function EditWikiPage({
|
|||
<div className="flex flex-col gap-6 p-5">
|
||||
<Link
|
||||
href={`/wiki/${page.slug}`}
|
||||
className="flex w-fit items-center gap-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
className="flex w-fit items-center gap-1 py-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
>
|
||||
<ArrowLeftIcon className="size-3" />
|
||||
Back to page
|
||||
|
|
@ -128,7 +128,7 @@ export default async function EditWikiPage({
|
|||
<div className="flex flex-col gap-3">
|
||||
<Link
|
||||
href={`/wiki/${page.slug}`}
|
||||
className="flex w-fit items-center gap-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
className="flex w-fit items-center gap-1 py-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
>
|
||||
<ArrowLeftIcon className="size-3" />
|
||||
Back to page
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ export default async function WikiHistoryPage({
|
|||
<div className="flex flex-col gap-6 p-5">
|
||||
<Link
|
||||
href="/wiki"
|
||||
className="flex w-fit items-center gap-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
className="flex w-fit items-center gap-1 py-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
>
|
||||
<ArrowLeftIcon className="size-3" />
|
||||
Wiki
|
||||
|
|
@ -103,7 +103,7 @@ export default async function WikiHistoryPage({
|
|||
<div className="flex flex-col gap-3">
|
||||
<Link
|
||||
href={`/wiki/${page.slug}`}
|
||||
className="flex w-fit items-center gap-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
className="flex w-fit items-center gap-1 py-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
>
|
||||
<ArrowLeftIcon className="size-3" />
|
||||
Back to page
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ export default async function WikiDetailPage({
|
|||
<div className="flex flex-col gap-6 p-5">
|
||||
<Link
|
||||
href="/wiki"
|
||||
className="flex w-fit items-center gap-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
className="flex w-fit items-center gap-1 py-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
>
|
||||
<ArrowLeftIcon className="size-3" />
|
||||
Wiki
|
||||
|
|
@ -124,7 +124,7 @@ export default async function WikiDetailPage({
|
|||
<div className="flex flex-col gap-6 p-5">
|
||||
<Link
|
||||
href="/wiki"
|
||||
className="flex w-fit items-center gap-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
className="flex w-fit items-center gap-1 py-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
>
|
||||
<ArrowLeftIcon className="size-3" />
|
||||
Wiki
|
||||
|
|
@ -158,7 +158,7 @@ export default async function WikiDetailPage({
|
|||
<div className="flex flex-col gap-3">
|
||||
<Link
|
||||
href="/wiki"
|
||||
className="flex w-fit items-center gap-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
className="flex w-fit items-center gap-1 py-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
>
|
||||
<ArrowLeftIcon className="size-3" />
|
||||
Wiki
|
||||
|
|
@ -201,7 +201,7 @@ export default async function WikiDetailPage({
|
|||
<div className="flex flex-col gap-3">
|
||||
<Link
|
||||
href="/wiki"
|
||||
className="flex w-fit items-center gap-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
className="flex w-fit items-center gap-1 py-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
>
|
||||
<ArrowLeftIcon className="size-3" />
|
||||
Wiki
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ export default async function WikiCategoryPage({
|
|||
<div className="flex flex-col gap-3">
|
||||
<Link
|
||||
href="/wiki"
|
||||
className="flex w-fit items-center gap-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
className="flex w-fit items-center gap-1 py-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
>
|
||||
<ArrowLeftIcon className="size-3" />
|
||||
Wiki
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ export default async function NewWikiPage({
|
|||
<div className="flex flex-col gap-3">
|
||||
<Link
|
||||
href="/wiki"
|
||||
className="flex w-fit items-center gap-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
className="flex w-fit items-center gap-1 py-1 text-sm text-muted-foreground transition-colors hover:text-primary"
|
||||
>
|
||||
<ArrowLeftIcon className="size-3" />
|
||||
Wiki
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ export function StripeEditor({
|
|||
<button
|
||||
type="button"
|
||||
onClick={() => removeStripe(idx)}
|
||||
className="text-zinc-500 hover:text-red-400 text-sm cursor-pointer"
|
||||
className="py-1 text-zinc-500 hover:text-red-400 text-sm cursor-pointer"
|
||||
>
|
||||
\u00D7
|
||||
</button>
|
||||
|
|
@ -206,7 +206,7 @@ export function DeviceEditor({
|
|||
<button
|
||||
type="button"
|
||||
onClick={() => removeDevice(device.id)}
|
||||
className="text-zinc-500 hover:text-red-400 text-sm cursor-pointer"
|
||||
className="py-1 text-zinc-500 hover:text-red-400 text-sm cursor-pointer"
|
||||
>
|
||||
\u00D7
|
||||
</button>
|
||||
|
|
|
|||
|
|
@ -176,11 +176,15 @@ export function PreferencesForm({
|
|||
>
|
||||
<div className="flex items-center gap-2">
|
||||
<RadioGroupItem id="leadOrActual-lead" value="lead" />
|
||||
<Label htmlFor="leadOrActual-lead">Lead</Label>
|
||||
<Label htmlFor="leadOrActual-lead" className="py-1.5">
|
||||
Lead
|
||||
</Label>
|
||||
</div>
|
||||
<div className="flex items-center gap-2">
|
||||
<RadioGroupItem id="leadOrActual-actual" value="actual" />
|
||||
<Label htmlFor="leadOrActual-actual">Actual</Label>
|
||||
<Label htmlFor="leadOrActual-actual" className="py-1.5">
|
||||
Actual
|
||||
</Label>
|
||||
</div>
|
||||
</RadioGroup>
|
||||
</div>
|
||||
|
|
@ -218,7 +222,7 @@ export function PreferencesForm({
|
|||
<Label
|
||||
key={notificationType.value}
|
||||
htmlFor={id}
|
||||
className="flex items-center justify-between gap-4 text-sm font-normal"
|
||||
className="flex min-h-6 items-center justify-between gap-4 text-sm font-normal"
|
||||
>
|
||||
<span>{notificationType.label}</span>
|
||||
<Switch
|
||||
|
|
@ -272,7 +276,7 @@ export function PreferencesForm({
|
|||
<Label
|
||||
key={notificationType.value}
|
||||
htmlFor={id}
|
||||
className="flex items-center justify-between gap-4 text-sm font-normal"
|
||||
className="flex min-h-6 items-center justify-between gap-4 text-sm font-normal"
|
||||
>
|
||||
<span>Mute {notificationType.label.toLowerCase()}</span>
|
||||
<Switch
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ export function ToursPreference() {
|
|||
return (
|
||||
<div className="flex items-center justify-between gap-4">
|
||||
<div className="flex flex-col gap-0.5">
|
||||
<Label htmlFor="tours-autostart" className="text-sm">
|
||||
<Label htmlFor="tours-autostart" className="py-0.5 text-sm">
|
||||
Auto-start page tours
|
||||
</Label>
|
||||
<p className="text-xs text-muted-foreground">
|
||||
|
|
|
|||
|
|
@ -101,7 +101,9 @@ export function RibbonStudio() {
|
|||
}
|
||||
/>
|
||||
<div className="flex flex-col gap-1">
|
||||
<Label htmlFor="ribbon-mirrored">Mirror stripe pattern</Label>
|
||||
<Label htmlFor="ribbon-mirrored" className="py-1.5">
|
||||
Mirror stripe pattern
|
||||
</Label>
|
||||
<p className="text-xs text-muted-foreground">
|
||||
Reflect the pattern across the center for a balanced ribbon.
|
||||
</p>
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ export function AccountDetail({
|
|||
<div className="flex flex-col gap-6">
|
||||
<Link
|
||||
href="/logistics/banking"
|
||||
className="text-sm text-muted-foreground hover:text-primary transition-colors flex items-center gap-1 w-fit"
|
||||
className="py-1 text-sm text-muted-foreground hover:text-primary transition-colors flex items-center gap-1 w-fit"
|
||||
>
|
||||
<ArrowLeftIcon className="size-3" />
|
||||
Back to Banking
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ export function ActiveCampaigns({ campaigns }: ActiveCampaignsProps) {
|
|||
</div>
|
||||
<Link
|
||||
href="/intelligence/campaigns"
|
||||
className="text-xs text-muted-foreground hover:text-primary transition-colors"
|
||||
className="py-1 text-xs text-muted-foreground hover:text-primary transition-colors"
|
||||
>
|
||||
View all
|
||||
</Link>
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ export function MissionBriefing({ mission, heading = "Next Mission" }: MissionBr
|
|||
</div>
|
||||
<Link
|
||||
href="/intelligence/missions"
|
||||
className="shrink-0 text-xs text-muted-foreground transition-colors hover:text-primary"
|
||||
className="shrink-0 py-1 text-xs text-muted-foreground transition-colors hover:text-primary"
|
||||
>
|
||||
View all
|
||||
</Link>
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ export function MyTickets({ tickets, openCount }: MyTicketsProps) {
|
|||
</div>
|
||||
<Link
|
||||
href="/helpdesk"
|
||||
className="text-xs text-muted-foreground transition-colors hover:text-primary"
|
||||
className="py-1 text-xs text-muted-foreground transition-colors hover:text-primary"
|
||||
>
|
||||
View all
|
||||
</Link>
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ export function OpenNegotiations({
|
|||
</div>
|
||||
<Link
|
||||
href="/logistics/market"
|
||||
className="text-xs text-muted-foreground transition-colors hover:text-primary"
|
||||
className="py-1 text-xs text-muted-foreground transition-colors hover:text-primary"
|
||||
>
|
||||
Market
|
||||
</Link>
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ export function ProfileSummary({
|
|||
</div>
|
||||
<Link
|
||||
href={`/profile/${username}`}
|
||||
className="shrink-0 text-xs text-muted-foreground transition-colors hover:text-primary"
|
||||
className="shrink-0 py-1 text-xs text-muted-foreground transition-colors hover:text-primary"
|
||||
>
|
||||
View full record
|
||||
</Link>
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ export function RecentNotifications({
|
|||
</div>
|
||||
<Link
|
||||
href="/notifications"
|
||||
className="text-xs text-muted-foreground transition-colors hover:text-primary"
|
||||
className="py-1 text-xs text-muted-foreground transition-colors hover:text-primary"
|
||||
>
|
||||
Inbox
|
||||
</Link>
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ export function UpcomingMissions({ missions }: UpcomingMissionsProps) {
|
|||
</div>
|
||||
<Link
|
||||
href="/intelligence/missions"
|
||||
className="text-xs text-muted-foreground transition-colors hover:text-primary"
|
||||
className="py-1 text-xs text-muted-foreground transition-colors hover:text-primary"
|
||||
>
|
||||
View all
|
||||
</Link>
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ export function WalletWidget({ account, currencyConfig }: WalletWidgetProps) {
|
|||
</div>
|
||||
<Link
|
||||
href="/logistics/banking"
|
||||
className="text-xs text-muted-foreground transition-colors hover:text-primary"
|
||||
className="py-1 text-xs text-muted-foreground transition-colors hover:text-primary"
|
||||
>
|
||||
Banking
|
||||
</Link>
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ export function TicketCard({ ticket, voteSummary }: TicketCardProps) {
|
|||
</ItemHeader>
|
||||
<ItemContent className="w-full min-w-0 flex-1 gap-3">
|
||||
<ItemTitle className="line-clamp-2 min-w-0 max-w-full text-base font-semibold">
|
||||
<Link href={`/helpdesk/${ticket.id}`} className="hover:underline">
|
||||
<Link href={`/helpdesk/${ticket.id}`} className="py-1 hover:underline">
|
||||
{ticket.title}
|
||||
</Link>
|
||||
</ItemTitle>
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ export function CampaignsList({ campaigns }: CampaignsListProps) {
|
|||
/>
|
||||
<label
|
||||
htmlFor="show-completed-campaigns"
|
||||
className="cursor-pointer select-none text-sm text-muted-foreground"
|
||||
className="cursor-pointer select-none px-1 py-1.5 text-sm text-muted-foreground"
|
||||
>
|
||||
Show completed
|
||||
</label>
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ export function PeriodStandingsCard({
|
|||
</button>
|
||||
<Link
|
||||
href={`/minigames/leaderboards?game=${gameKey}`}
|
||||
className="ml-auto pr-1 text-xs text-muted-foreground hover:text-foreground"
|
||||
className="ml-auto py-1 pr-1 text-xs text-muted-foreground hover:text-foreground"
|
||||
>
|
||||
All boards
|
||||
</Link>
|
||||
|
|
|
|||
|
|
@ -632,7 +632,7 @@ export function RadioTraffic({
|
|||
)}
|
||||
|
||||
<div className="mt-3 flex items-center justify-between">
|
||||
<label htmlFor="radio-tick-sound" title="Only plays during Watch mode countdowns" className="flex cursor-pointer items-center gap-1.5 text-xs text-muted-foreground">
|
||||
<label htmlFor="radio-tick-sound" title="Only plays during Watch mode countdowns" className="flex min-h-6 cursor-pointer items-center gap-1.5 text-xs text-muted-foreground">
|
||||
<Volume2 className="size-3.5" /> Countdown tick sound
|
||||
</label>
|
||||
<Switch id="radio-tick-sound" checked={tickSoundEnabled} onCheckedChange={handleTickSoundChange} />
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ export function NpcDirectory({ npcs }: NpcDirectoryProps) {
|
|||
checked={inGameOnly}
|
||||
onCheckedChange={(checked) => setInGameOnly(checked === true)}
|
||||
/>
|
||||
<Label htmlFor="npc-in-game-only" className="cursor-pointer text-sm font-normal">
|
||||
<Label htmlFor="npc-in-game-only" className="cursor-pointer py-1.5 text-sm font-normal">
|
||||
In-game only
|
||||
</Label>
|
||||
</div>
|
||||
|
|
@ -86,7 +86,7 @@ export function NpcDirectory({ npcs }: NpcDirectoryProps) {
|
|||
checked={vendorsOnly}
|
||||
onCheckedChange={(checked) => setVendorsOnly(checked === true)}
|
||||
/>
|
||||
<Label htmlFor="npc-vendors-only" className="cursor-pointer text-sm font-normal">
|
||||
<Label htmlFor="npc-vendors-only" className="cursor-pointer py-1.5 text-sm font-normal">
|
||||
Vendors only
|
||||
</Label>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -183,7 +183,7 @@ export function GuidedTour({ tour, gates, onDismiss, onSkipAll }: GuidedTourProp
|
|||
<Button
|
||||
variant="link"
|
||||
size="sm"
|
||||
className="h-auto p-0 text-xs text-muted-foreground"
|
||||
className="h-auto min-h-6 px-0 text-xs text-muted-foreground"
|
||||
onClick={onSkipAll}
|
||||
>
|
||||
Skip all tours on this device
|
||||
|
|
|
|||
|
|
@ -251,7 +251,7 @@ export function WikiIndex({ pages, isModerator }: WikiIndexProps) {
|
|||
<h2 className="group/cat flex items-baseline gap-2 px-1 text-xs font-semibold tracking-wider text-muted-foreground uppercase">
|
||||
<Link
|
||||
href={`/wiki/category/${group.category}`}
|
||||
className="inline-flex items-center gap-1 transition-colors hover:text-foreground"
|
||||
className="inline-flex items-center gap-1 py-1 transition-colors hover:text-foreground"
|
||||
>
|
||||
{group.category}
|
||||
<ArrowRightIcon
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ const DialogContent = React.forwardRef<
|
|||
>
|
||||
{children}
|
||||
{showCloseButton && (
|
||||
<DialogPrimitive.Close className="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground">
|
||||
<DialogPrimitive.Close className="absolute right-3 top-3 rounded-sm p-1 opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground">
|
||||
<X className="h-4 w-4" />
|
||||
<span className="sr-only">Close</span>
|
||||
</DialogPrimitive.Close>
|
||||
|
|
|
|||
Loading…
Reference in a new issue