Skip to content

Commit

Permalink
chore: lower-min-width on sub-menu elements
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding-SE committed Oct 19, 2023
1 parent 0d94ac1 commit 60f0201
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/example-plugin-contextmenu.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,13 @@

.slick-context-menu {
border: 1px solid #718BB7;
box-shadow: 2px 2px 2px silver;
}
.slick-submenu {
.slick-cell-menu.slick-submenu,
.slick-context-menu.slick-submenu {
background-color: #fbfbfb;
/* border-width: 2px; */
box-shadow: 0 2px 4px 2px rgba(146, 152, 163, 0.4);
min-width: 150px;
}
</style>
</head>
Expand Down
3 changes: 3 additions & 0 deletions src/styles/slick.cellmenu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
z-index: 2000;
overflow:auto;
resize: both;
&.slick-submenu {
min-width: 100px;
}
}

.slick-cell-menu-button {
Expand Down
3 changes: 3 additions & 0 deletions src/styles/slick.contextmenu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
z-index: 2000;
overflow:auto;
resize: both;
&.slick-submenu {
min-width: 100px;
}
}

.slick-context-menu-button {
Expand Down

0 comments on commit 60f0201

Please sign in to comment.