mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-01-06 10:00:26 +00:00
Make the shortcuts prettifier even prettier
This commit is contained in:
parent
2f9ea998bf
commit
50dfabe279
@ -312,6 +312,10 @@ kbd {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.kbd-or {
|
||||
opacity: .4;
|
||||
}
|
||||
|
||||
.dialog-wrap {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
|
@ -245,7 +245,7 @@
|
||||
shortcutColumn.className = 'shortcut-row__keys';
|
||||
shortcutColumn.innerHTML = shortcut.shortcut.split(',')
|
||||
.map(shortcuts => shortcuts.trim().split(' ').map(prettifyShortcut).join(' '))
|
||||
.join(' or ');
|
||||
.join(' <span class="kbd-or">or</span> ');
|
||||
listItem.appendChild(shortcutColumn);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user