mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
Optimize ShortcutsDialog style (#1329)
* Optimize ShortcutsDialog style * Add word-break only to ShortcutKey
This commit is contained in:
parent
ff82d1cfa3
commit
fe6f482e96
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,7 @@ const ShortcutIsland = (props: {
|
|||
width: "49%",
|
||||
border: "1px solid #ced4da",
|
||||
marginBottom: "16px",
|
||||
height: "-webkit-fill-available",
|
||||
}}
|
||||
>
|
||||
<h3
|
||||
|
@ -85,6 +86,7 @@ Shortcut.defaultProps = {
|
|||
const ShortcutKey = (props: { children: React.ReactNode }) => (
|
||||
<span
|
||||
style={{
|
||||
wordBreak: "keep-all",
|
||||
border: "1px solid #ced4da",
|
||||
padding: "2px 8px",
|
||||
margin: "0 4px",
|
||||
|
|
Loading…
Add table
Reference in a new issue