Move KeyboardShortcut styling into a separate file (#8067)

This commit is contained in:
Šimon Brandner 2022-03-21 12:41:32 +01:00 committed by GitHub
parent 22712d3091
commit 8418b4fd71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 53 additions and 24 deletions

View file

@ -23,7 +23,9 @@ exports[`KeyboardShortcut doesn't render same modifier twice 1`] = `
}
}
>
<div>
<div
className="mx_KeyboardShortcut"
>
<KeyboardKey
key="ctrlOrCmdKey"
name="Control"
@ -59,7 +61,9 @@ exports[`KeyboardShortcut doesn't render same modifier twice 2`] = `
}
}
>
<div>
<div
className="mx_KeyboardShortcut"
>
<KeyboardKey
key="ctrlOrCmdKey"
name="Control"

View file

@ -50,7 +50,9 @@ exports[`KeyboardUserSettingsTab renders list of keyboard shortcuts 1`] = `
}
}
>
<div>
<div
className="mx_KeyboardShortcut"
>
<KeyboardKey
key="ctrlKey"
name="Control"
@ -92,7 +94,9 @@ exports[`KeyboardUserSettingsTab renders list of keyboard shortcuts 1`] = `
}
}
>
<div>
<div
className="mx_KeyboardShortcut"
>
<KeyboardKey
key="ctrlKey"
name="Control"
@ -160,7 +164,9 @@ exports[`KeyboardUserSettingsTab renders list of keyboard shortcuts 1`] = `
}
}
>
<div>
<div
className="mx_KeyboardShortcut"
>
<KeyboardKey
last={true}
name="Enter"