Menu width in a split pane


In the doc : there’s an example of a menu with a snippet to set its width :

.my-custom-menu {
  --width: 500px;

But when the menu is in a split pane (like 99% of the time ?) it doesn’t work, I’ve done this but … it doesn’t feel right, there should be an API to do that

@media screen and (min-width: 992px) {
  ion-menu {
    max-width: 10% !important;