@@ -452,7 +452,7 @@ const LicensePlate = forwardRef<HTMLDivElement, LicensePlateProps>(
452452 bottom : 0 ,
453453 zIndex : 2 ,
454454 } } >
455- < UKBand scale = { scale } height = "100%" showFlag = { showUKFlag } isEV = { isEV } borderRadius = { 5 } />
455+ < UKBand scale = { scale } height = "100%" showFlag = { showUKFlag } isEV = { isEV } borderRadius = { 5 } isHovering = { isHovering } tilt = { tilt } />
456456 </ div >
457457 ) }
458458
@@ -465,7 +465,7 @@ const LicensePlate = forwardRef<HTMLDivElement, LicensePlateProps>(
465465 bottom : 0 ,
466466 zIndex : 2 ,
467467 } } >
468- < NorwayBand scale = { scale } height = "100%" borderRadius = { 5 } />
468+ < NorwayBand scale = { scale } height = "100%" borderRadius = { 5 } isHovering = { isHovering } tilt = { tilt } />
469469 </ div >
470470 ) }
471471
@@ -590,7 +590,7 @@ const LicensePlate = forwardRef<HTMLDivElement, LicensePlateProps>(
590590 { /* Austrian Bundesland Plakette - plain emblem */ }
591591 { showStatePlakette && country === 'A' && (
592592 < div style = { { transformStyle : 'preserve-3d' } } >
593- < AustrianStatePlakette state = { state as AustrianState } scale = { scale * 1.3 } />
593+ < AustrianStatePlakette state = { state as AustrianState } scale = { scale * 1.3 } isHovering = { isHovering } tilt = { tilt } />
594594 </ div >
595595 ) }
596596
@@ -606,7 +606,7 @@ const LicensePlate = forwardRef<HTMLDivElement, LicensePlateProps>(
606606 { /* Hungarian national coat of arms */ }
607607 { showStatePlakette && (
608608 < div style = { { transformStyle : 'preserve-3d' } } >
609- < HungarianCoatOfArms scale = { scale * 1.3 } />
609+ < HungarianCoatOfArms scale = { scale * 1.3 } isHovering = { isHovering } tilt = { tilt } />
610610 </ div >
611611 ) }
612612
@@ -622,7 +622,7 @@ const LicensePlate = forwardRef<HTMLDivElement, LicensePlateProps>(
622622 { /* Slovak national coat of arms */ }
623623 { showStatePlakette && (
624624 < div style = { { transformStyle : 'preserve-3d' } } >
625- < SlovakCoatOfArms scale = { scale * 1.3 } />
625+ < SlovakCoatOfArms scale = { scale * 1.3 } isHovering = { isHovering } tilt = { tilt } />
626626 </ div >
627627 ) }
628628
@@ -635,7 +635,7 @@ const LicensePlate = forwardRef<HTMLDivElement, LicensePlateProps>(
635635 { /* Swiss coat of arms (left side) */ }
636636 { showStatePlakette && (
637637 < div style = { { transformStyle : 'preserve-3d' } } >
638- < SwissCoatOfArms scale = { scale * 1.15 } />
638+ < SwissCoatOfArms scale = { scale * 1.15 } isHovering = { isHovering } tilt = { tilt } />
639639 </ div >
640640 ) }
641641
@@ -647,12 +647,16 @@ const LicensePlate = forwardRef<HTMLDivElement, LicensePlateProps>(
647647 { /* Canton coat of arms (right side) */ }
648648 { showStatePlakette && state && (
649649 < div style = { { transformStyle : 'preserve-3d' } } >
650- < SwissCantonPlakette canton = { state as SwissCanton } scale = { scale * 1.15 } />
650+ < SwissCantonPlakette canton = { state as SwissCanton } scale = { scale * 1.15 } isHovering = { isHovering } tilt = { tilt } />
651651 </ div >
652652 ) }
653653 </ >
654654 ) : (
655- < span style = { { ...textStyle , transform : 'translateZ(15px)' , transformStyle : 'preserve-3d' } } >
655+ < span style = { {
656+ ...textStyle ,
657+ transform : `translateZ(15px)${ country === 'N' ? ' translateY(12px)' : '' } ` ,
658+ transformStyle : 'preserve-3d'
659+ } } >
656660 { country === 'S' ? (
657661 plateType === 'normal' ? `${ plateText . slice ( 0 , 3 ) } \u2009${ plateText . slice ( 3 , 6 ) } ` : plateText
658662 ) : ( plateText || '' ) }
0 commit comments