[MobileSendPopUp] ru font-size 수정,dangerouslySetInnerHTML 추가

This commit is contained in:
jiwon93.son
2024-07-17 15:33:34 +09:00
parent 4fb47fe897
commit db711bd292
2 changed files with 17 additions and 6 deletions

View File

@@ -579,7 +579,7 @@ export default function MobileSendPopUp({
onClick={handleInputClick}
spotlightDisabled={spotlightDisabled}
>
{deviceCountryCode === "RU" && (
{deviceCountryCode && deviceCountryCode === "RU" && (
<span className={css.rucInput}>{"+7 "}</span>
)}
<span>{mobileNumber}</span>
@@ -600,11 +600,16 @@ export default function MobileSendPopUp({
)}
</div>
<div className={css.instruction}>
<span>
{$L(
{deviceCountryCode && (
<span
dangerouslySetInnerHTML={{
__html: `${$L(
"By clicking Agree and Send button, I agree that LGE may collect and store my cell phone number to send text messages as I requested, for data analysis and for feature-enhancement purposes. By entering my cell phone number, I agree to receive messages from LGE with information on how to purchase the product I selected. Message and data rates may apply."
)}`,
}}
className={deviceCountryCode === "RU" && css.instructionRu}
/>
)}
</span>
</div>
</div>
<Container className={css.btnContainer}>

View File

@@ -113,6 +113,12 @@
display: flex;
flex-direction: column;
justify-content: space-between;
> span {
&.instructionRu {
font-size: 21px;
}
}
}
}
.btnContainer {