Skip to content

Commit d0a0288

Browse files
Fix CSS typos and remove duplicate country code (#75)
- Fix "transparant" typo in HelpToggle.svelte (should be "transparent") - Wrap CSS variable references with var() in FileInput.svelte (two instances of `color: --pg-text` that should be `color: var(--pg-text)`) - Remove duplicate 'at' (Austria) entry in MultiInput.svelte allowedCountries Co-authored-by: dobby-yivi-agent[bot] <275734547+dobby-yivi-agent[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9a8c96c commit d0a0288

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/lib/components/HelpToggle.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
}
3636
3737
.help-section.bordered {
38-
background: transparant;
38+
background: transparent;
3939
border: 1px solid var(--pg-strong-background);
4040
border-radius: var(--pg-border-radius-lg);
4141
box-shadow: 0 2px 8px rgba(48, 149, 222, 0.08);

src/lib/components/filesharing/inputs/FileInput.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
h1 {
156156
font-size: var(--pg-font-size-2xl);
157157
font-weight: var(--pg-font-weight-bold);
158-
color: --pg-text;
158+
color: var(--pg-text);
159159
margin: 0;
160160
}
161161
@@ -295,7 +295,7 @@
295295
margin: 1rem 0 0rem 0;
296296
font-size: clamp(var(--pg-font-size-xl), 2.5vw, var(--pg-font-size-lg));
297297
font-weight: var(--pg-font-weight-extrabold);
298-
color: --pg-text;
298+
color: var(--pg-text);
299299
text-align: center;
300300
}
301301

src/lib/components/filesharing/inputs/MultiInput.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
}
4444
4545
const allowedCountries = ['at', 'be', 'bg', 'cy', 'dk', 'de', 'ee', 'fi', 'fr', 'gr', 'hu', 'ie',
46-
'is', 'it', 'hr', 'lv', 'lt', 'li', 'lu', 'mt', 'mc', 'nl', 'no', 'at',
46+
'is', 'it', 'hr', 'lv', 'lt', 'li', 'lu', 'mt', 'mc', 'nl', 'no',
4747
'pl', 'pt', 'ro', 'si', 'sk', 'es', 'cz', 'gb', 'se', 'ch']
4848
4949
function getCountryPrefix(countryCode: string): string {

0 commit comments

Comments
 (0)