menu: make popup menu inherit border radius
This commit is contained in:
parent
687564cb6f
commit
01e447ac60
2 changed files with 34 additions and 9 deletions
|
|
@ -263,6 +263,7 @@ class Menu extends MenuBase {
|
|||
this.container.classList.toggle('circular', layout === 'circular')
|
||||
this.container.classList.toggle('grid', layout === 'grid')
|
||||
this.container.classList.toggle('vertical', layout === 'vertical')
|
||||
this.container.classList.toggle('horizontal', layout === 'horizontal')
|
||||
|
||||
if (layout === 'grid') {
|
||||
var template = this.getProp('gridTemplate') || Math.round(this.values.length / 2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue