Skip to content

Commit 9123037

Browse files
XS⚠️ ◾ UI - Sizing Changes req by Adam (#839)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 9a1c838 commit 9123037

8 files changed

Lines changed: 15 additions & 13 deletions

File tree

src/ui/src/components/auth/IdentityServerAuthManager.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ export function IdentityServerAuthManager() {
7171
if (!status?.isAuthenticated) {
7272
return (
7373
<div className="flex items-center">
74-
<Button onClick={login}>Sign In</Button>
74+
<Button className="w-full" onClick={login}>
75+
Sign In
76+
</Button>
7577
{error && <span className="text-ssw-red text-xs ml-2">{error}</span>}
7678
</div>
7779
);

src/ui/src/components/layout/sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default function Sidebar() {
3131
<ScreenRecorder showButtonOnly={true} className="w-full justify-start" />
3232
<nav className="flex flex-col gap-6">
3333
<SidebarLink to="/">
34-
<img src={YakOutline} alt="YakShaver" className="h-4 w-4" />
34+
<img src={YakOutline} alt="YakShaver" className="h-5 w-5" />
3535
Shaves
3636
</SidebarLink>
3737
{/* TODO: Add in for https://github.com/SSWConsulting/SSW.YakShaver.Desktop/issues/816 */}

src/ui/src/components/recording/ScreenRecorder.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ function RecordButton({
6565
return (
6666
<Button
6767
className={cn(
68-
"bg-ssw-red text-ssw-red-foreground hover:bg-ssw-red/90 items-center",
68+
"bg-ssw-red text-xl text-ssw-red-foreground hover:bg-ssw-red/90 items-center",
6969
className,
7070
)}
7171
onClick={onToggleRecording}
7272
size="chunky"
7373
disabled={isDisabled}
7474
>
75-
<CircleStopIcon />
75+
<CircleStopIcon className="w-5 h-5" />
7676
{label}
7777
</Button>
7878
);

src/ui/src/components/settings/SettingsDialog.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ export function SettingsDialog() {
167167
className="flex items-center justify-start gap-2 text-white/60 bg-transparent hover:text-white hover:bg-white/10 transition-colors duration-300"
168168
aria-label="Open settings"
169169
>
170-
<Settings className="h-4 w-4" />
171-
<span>Settings</span>
170+
<Settings className="h-5 w-5" />
171+
<span className="text-xl">Settings</span>
172172
</Button>
173173
</DialogTrigger>
174174

src/ui/src/components/shaves/NoShaves.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ const NO_SHAVES_STEPS: string[] = [
99
export function NoShaves() {
1010
return (
1111
<Empty>
12-
<EmptyHeader>
13-
<EmptyTitle>You don't have any YakShaves yet!</EmptyTitle>
12+
<EmptyHeader className="gap-6 items-start!">
13+
<EmptyTitle>⛔️ - You don't have any YakShaves yet!</EmptyTitle>
1414
<EmptyDescription>Get started in 3 easy steps:</EmptyDescription>
1515
</EmptyHeader>
1616
<div className="flex flex-col gap-6">
1717
{NO_SHAVES_STEPS.map((step, index) => (
1818
<div key={step} className="flex items-center gap-3">
19-
<span className="rounded-full border border-white/25 h-8 w-8 flex items-center justify-center text-sm font-medium">
19+
<span className="rounded-full border border-white/25 h-8 w-8 flex items-center justify-center text-lg font-medium">
2020
{index + 1}
2121
</span>
2222
<span className="font-light text-muted-foreground">{step}</span>

src/ui/src/components/ui/button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const buttonVariants = cva(
2525
sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
2626
lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
2727
icon: "size-9",
28-
chunky: "px-6 py-4"
28+
chunky: "h-14 px-6 py-4"
2929
},
3030
},
3131
defaultVariants: {

src/ui/src/components/ui/empty.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function EmptyTitle({ className, ...props }: React.ComponentProps<"div">) {
6262
return (
6363
<div
6464
data-slot="empty-title"
65-
className={cn("text-lg font-medium tracking-tight", className)}
65+
className={cn("text-xl font-medium tracking-tight", className)}
6666
{...props}
6767
/>
6868
)
@@ -73,7 +73,7 @@ function EmptyDescription({ className, ...props }: React.ComponentProps<"p">) {
7373
<div
7474
data-slot="empty-description"
7575
className={cn(
76-
"text-muted-foreground [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4",
76+
"text-muted-foreground [&>a:hover]:text-primary text-lg/relaxed [&>a]:underline [&>a]:underline-offset-4",
7777
className
7878
)}
7979
{...props}

src/ui/src/components/ui/sidebar-link.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export function SidebarLink({ to, children }: SidebarLinkProps) {
1212
to={to}
1313
end
1414
className={({ isActive }) =>
15-
`flex items-center gap-2 px-6 py-4 rounded-md text-sm transition-colors duration-300 ${
15+
`flex items-center gap-2 px-6 py-4 rounded-md text-xl transition-colors duration-300 ${
1616
isActive
1717
? "bg-white/8 text-white hover:bg-white/15"
1818
: "text-white/60 bg-transparent hover:text-white hover:bg-white/10"

0 commit comments

Comments
 (0)