Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

fix(web): keep 12px labels inside phone cells (RX-204)

Amruth Pillai0016cfa048be
diff --git a/apps/web/src/features/applications/components/calendar-view.tsx b/apps/web/src/features/applications/components/calendar-view.tsx
index f7efc3882..6e94f268a 100644
--- a/apps/web/src/features/applications/components/calendar-view.tsx
+++ b/apps/web/src/features/applications/components/calendar-view.tsx
@@ -225,7 +225,7 @@ export function ApplicationCalendar({
render={
<button
type="button"
- className="self-start rounded-md px-1.5 py-0.5 text-xs text-ink-3 transition-colors hover:bg-sunken hover:text-ink"
+ className="max-w-full self-start rounded-md px-1.5 py-0.5 text-xs text-ink-3 transition-colors hover:bg-sunken hover:text-ink"
/>
}
>
diff --git a/apps/web/src/features/applications/components/insights-view.tsx b/apps/web/src/features/applications/components/insights-view.tsx
index 7525e24e1..5c9084ba7 100644
--- a/apps/web/src/features/applications/components/insights-view.tsx
+++ b/apps/web/src/features/applications/components/insights-view.tsx
@@ -180,7 +180,7 @@ export function ApplicationInsights({ applications, onSaveJob, onClearFilters }:
<p className="mt-0.5 text-xs text-ink-3">
<Trans>Applications sent per week (last 8 weeks)</Trans>
</p>
- <div className="mt-4 flex items-end gap-2">
+ <div className="mt-4 flex items-end gap-2 overflow-x-auto">
{timeline.map((bucket, index) => (
<div key={bucket.label} className="flex flex-1 flex-col items-center gap-1">
<div className="flex h-28 w-full flex-col justify-end">
diff --git a/apps/web/src/features/career/today.tsx b/apps/web/src/features/career/today.tsx
index d4470eb89..f73c410b2 100644
--- a/apps/web/src/features/career/today.tsx
+++ b/apps/web/src/features/career/today.tsx
@@ -847,7 +847,7 @@ function ComingUp({ now, className }: ComingUpProps) {
</span>
</Eyebrow>
<div className="flex items-start gap-3">
- <span className="flex w-11 shrink-0 flex-col items-center rounded-lg bg-sunken py-1.5">
+ <span className="flex min-w-[2.75rem] shrink-0 flex-col items-center rounded-lg bg-sunken py-1.5">
<span className="font-mono text-xs font-medium text-ink-3">{format(start, { weekday: "short" })}</span>
<span className="font-display text-[22px] leading-[26px]">{format(start, { day: "numeric" })}</span>
</span>
diff --git a/apps/web/src/features/resume/editor/chrome/shell.tsx b/apps/web/src/features/resume/editor/chrome/shell.tsx
index 61fbe3e97..67655b2f6 100644
--- a/apps/web/src/features/resume/editor/chrome/shell.tsx
+++ b/apps/web/src/features/resume/editor/chrome/shell.tsx
@@ -229,7 +229,7 @@ export function MobileTabBar<V extends MobileView>({ tabs, view, onModeChange }:
if (tab !== "page") onModeChange(tab as Exclude<V, "page">);
}}
className={cn(
- "relative flex min-h-[52px] flex-1 flex-col items-center justify-center gap-0.5 text-center text-xs break-words transition-[color,scale] duration-quick ease-enter active:scale-[0.97]",
+ "relative flex min-h-[52px] flex-1 flex-col items-center justify-center gap-0.5 text-center text-xs [overflow-wrap:anywhere] transition-[color,scale] duration-quick ease-enter active:scale-[0.97]",
active ? "font-semibold text-ink" : "text-ink-2",
)}
>
diff --git a/apps/web/src/routes/dashboard/-components/app-shell.tsx b/apps/web/src/routes/dashboard/-components/app-shell.tsx
index e58897ac7..903eb874c 100644
--- a/apps/web/src/routes/dashboard/-components/app-shell.tsx
+++ b/apps/web/src/routes/dashboard/-components/app-shell.tsx
@@ -385,7 +385,12 @@ function MobileTabs() {
>
{current && <MobileTabIndicator />}
<Icon name={icon} size={24} filled={current} />
- <span className={cn("text-center text-xs break-words", current ? "font-semibold text-ink" : "text-ink-2")}>
+ <span
+ className={cn(
+ "text-center text-xs [overflow-wrap:anywhere]",
+ current ? "font-semibold text-ink" : "text-ink-2",
+ )}
+ >
{label}
</span>
</Link>
@@ -407,7 +412,7 @@ function MobileTabs() {
<span className="grid h-[26px] w-[34px] place-items-center rounded-sm bg-accent text-on-accent">
<Icon name="plus" size={20} />
</span>
- <span className="text-center text-xs break-words text-ink-2">
+ <span className="text-center text-xs [overflow-wrap:anywhere] text-ink-2">
<Trans>New</Trans>
</span>
</button>