Skip to content

Commit

Permalink
fix: add scroll for shortcut-panel
Browse files Browse the repository at this point in the history
  • Loading branch information
ly525 committed Aug 25, 2020
1 parent cb02af7 commit 1beb681
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default {
render (h) {
// return this.renderShortCutsPanel(this.groups)
return (
<a-row gutter={20}>
<a-row gutter={20} style="max-height: calc(100vh - 140px);overflow: scroll;">
{
[].concat(this.pluginsList, this.npmPackages).filter(plugin => plugin.visible).map(plugin => (
<a-col span={12} style={{ marginTop: '10px' }}>
Expand Down

0 comments on commit 1beb681

Please sign in to comment.