diff --git a/src/lib/CalendarMonth.svelte b/src/lib/CalendarMonth.svelte index 4728825..57bbed9 100644 --- a/src/lib/CalendarMonth.svelte +++ b/src/lib/CalendarMonth.svelte @@ -118,7 +118,7 @@ grid-column: span 7; text-align: center; letter-spacing: 0.1em; - font-size: 0.9em; + font-size: 1em; text-transform: uppercase; color: #c5c6c7; margin-bottom: 5px; @@ -133,6 +133,15 @@ margin: 0; } .consecutive-days-off li { - font-size: 0.9em; + font-size: 1em; + } + + @media (max-width: 600px) { + .month-name { + font-size: 0.9em; + } + .consecutive-days-off li { + font-size: 0.8em; + } } \ No newline at end of file diff --git a/src/lib/ptoData.js b/src/lib/ptoData.js index 767f14a..279da49 100644 --- a/src/lib/ptoData.js +++ b/src/lib/ptoData.js @@ -552,7 +552,7 @@ export const ptoData = { GB: 20, // 28 total working days, 8-10 paid public holidays // United States - US: 0, // No federal or state statutory minimum + US: 10, // No federal or state statutory minimum, we put 10 days as a default // Uruguay UY: 20, // 20 days, 5 paid public holidays diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 67f3e53..f0eb9a3 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -112,12 +112,12 @@ } .header h2 { - font-size: 2em; + font-size: 2.3rem; margin: 0; } .header p { - font-size: 1em; + font-size: 0.9rem; } .content-box { @@ -132,6 +132,7 @@ .content-box p { text-align: center; + line-height: 2; } input { @@ -205,7 +206,7 @@ display: flex; align-items: center; margin: 0 10px; - font-size: 0.8em; + font-size: 0.9em; } .color-box { @@ -257,7 +258,7 @@ color: #fff; font-size: 0.8em; cursor: pointer; - padding: 3px; + padding: 2px; margin: 0 5px; border-radius: 4px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); @@ -265,8 +266,8 @@ display: inline-flex; align-items: center; justify-content: center; - width: 30px; - height: 30px; + width: 28px; + height: 28px; font-weight: bold; } @@ -309,9 +310,9 @@

Stretch My Time Off

- In {selectedCountry}, there are {holidays.length} public holidays in {year}. + In {selectedCountry}, there are {holidays.length} public holidays in {year}.
- Let's stretch your time off from {daysOff} days to {consecutiveDaysOff.reduce((total, group) => total + group.totalDays, 0)} days. + Let's stretch your time off from {daysOff} days to {consecutiveDaysOff.reduce((total, group) => total + group.totalDays, 0)} days.

@@ -323,10 +324,9 @@ and have - {daysOff} days + {daysOff} - of vacation in - + days off in {year}