Add unit to Icon

florianduros/encryption-tab
Florian Duros 2024-12-19 12:08:13 +01:00
parent 7909ac92d9
commit 618557ce72
No known key found for this signature in database
GPG Key ID: A5BBB4041B493F15
4 changed files with 12 additions and 12 deletions

View File

@ -39,9 +39,9 @@ export function SettingsSubheader({ label, state, stateMessage }: SettingsSubhea
})}
>
{state === "success" ? (
<CheckCircleIcon width="20" height="20" />
<CheckCircleIcon width="20px" height="20px" />
) : (
<ErrorIcon width="20" height="20" />
<ErrorIcon width="20px" height="20px" />
)}
{stateMessage}
</span>

View File

@ -10,9 +10,9 @@ exports[`<SettingsSubheader /> should display a check icon when in success 1`] =
>
<svg
fill="currentColor"
height="20"
height="20px"
viewBox="0 0 24 24"
width="20"
width="20px"
xmlns="http://www.w3.org/2000/svg"
>
<path
@ -36,9 +36,9 @@ exports[`<SettingsSubheader /> should display a label 1`] = `
>
<svg
fill="currentColor"
height="20"
height="20px"
viewBox="0 0 24 24"
width="20"
width="20px"
xmlns="http://www.w3.org/2000/svg"
>
<path
@ -61,9 +61,9 @@ exports[`<SettingsSubheader /> should display an error icon when in error 1`] =
>
<svg
fill="currentColor"
height="20"
height="20px"
viewBox="0 0 24 24"
width="20"
width="20px"
xmlns="http://www.w3.org/2000/svg"
>
<path

View File

@ -62,9 +62,9 @@ exports[`<RecoveryPanel /> should ask to enter the recovery key when secrets are
>
<svg
fill="currentColor"
height="20"
height="20px"
viewBox="0 0 24 24"
width="20"
width="20px"
xmlns="http://www.w3.org/2000/svg"
>
<path

View File

@ -28,9 +28,9 @@ exports[`<EncryptionUserSettingsTab /> should display a verify button when the d
>
<svg
fill="currentColor"
height="20"
height="20px"
viewBox="0 0 24 24"
width="20"
width="20px"
xmlns="http://www.w3.org/2000/svg"
>
<path