Commit 1beb681ab6b2b2e78c15922e39a464beb0f6f925

Authored by ly525
1 parent cb02af75

fix: add scroll for shortcut-panel

front-end/h5/src/components/core/editor/shortcuts-panel/index.js
@@ -95,7 +95,7 @@ export default { @@ -95,7 +95,7 @@ export default {
95 render (h) { 95 render (h) {
96 // return this.renderShortCutsPanel(this.groups) 96 // return this.renderShortCutsPanel(this.groups)
97 return ( 97 return (
98 - <a-row gutter={20}> 98 + <a-row gutter={20} style="max-height: calc(100vh - 140px);overflow: scroll;">
99 { 99 {
100 [].concat(this.pluginsList, this.npmPackages).filter(plugin => plugin.visible).map(plugin => ( 100 [].concat(this.pluginsList, this.npmPackages).filter(plugin => plugin.visible).map(plugin => (
101 <a-col span={12} style={{ marginTop: '10px' }}> 101 <a-col span={12} style={{ marginTop: '10px' }}>