Skip to content

Commit

Permalink
Add unit to Icon
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros committed Dec 19, 2024
1 parent 7909ac9 commit 618557c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/components/views/settings/SettingsSubheader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 618557c

Please sign in to comment.