모바일에서 자동 마진도 여전히 해제해야 하나요?

One aspect I do like about the mobile setup is that the sidebar menu slides in as an overlay and not embedded on the page. It feels more “native” on a mobile device to me.

How about just adding a breakpoint declaration?

@include breakpoint(mobile-extra-large) {
  #main-outlet-wrapper {
    margin-left: unset;
    margin-right: unset;
  }
}

So on narrow mobile devices the potential extra space is removed, but wider devices would have the wrapper centered.

3개의 좋아요