Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JW8-10171] Add localization support for Keyboard Shortcuts #3468

Merged
merged 9 commits into from Sep 11, 2019
Prev

remove jw-hotkey

  • Loading branch information...
DanFerrer committed Sep 10, 2019
commit b852eb19a4d835e7c0e729e219079a12c72fee78
@@ -66,14 +66,12 @@
}

.jw-shortcuts-key {
&.jw-hotkey {
background: @rightclick-secondary-bg;
color: @rightclick-secondary-text;
overflow: hidden;
padding: 7px 10px;
text-overflow: ellipsis;
white-space: nowrap;
}
background: @rightclick-secondary-bg;
color: @rightclick-secondary-text;
overflow: hidden;
padding: 7px 10px;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}
@@ -5,7 +5,7 @@ export default (shortcuts, title) => {
return (
`<div class="jw-shortcuts-row">` +
`<span class="jw-shortcuts-description">${shortcut.description}</span>` +
`<span class="jw-shortcuts-key jw-hotkey">${shortcut.key}</span>` +
`<span class="jw-shortcuts-key">${shortcut.key}</span>` +
`</div>`
);
}).join('');
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.