File tree 1 file changed +4
-8
lines changed
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -282,11 +282,12 @@ changeLanguage('en')
282
282
}
283
283
284
284
.heroContent img {
285
- display: none;
285
+ object-fit: contain;
286
+ text-transform: capitalize;
286
287
}
287
288
288
289
.heroLogo {
289
- max-width: 10em ;
290
+ max-width: 8em ;
290
291
margin-block-end: var(--space-s);
291
292
}
292
293
@@ -449,14 +450,9 @@ changeLanguage('en')
449
450
const version = searchParams.get('version') ?? 'default'
450
451
const intent = (searchParams.get('intent') ?? 'connect') as Intent
451
452
452
- function capitalize(str: string) {
453
- return str.charAt(0).toUpperCase() + str.slice(1)
454
- }
455
-
456
453
function updateImage(type: 'success' | 'error' | 'warning') {
457
454
heroLogo.src = `/img/${type}.svg`
458
- heroLogo.style.display = 'inline-block'
459
- heroLogo.alt = capitalize(type)
455
+ heroLogo.alt = type
460
456
}
461
457
462
458
switch (result) {
You can’t perform that action at this time.
0 commit comments