AdminLTE icon indicating copy to clipboard operation
AdminLTE copied to clipboard

[BUG] Wrong display when no content

Open Safranil opened this issue 7 months ago • 4 comments

Describe the bug When the content in main.app-main is not long enough or without explicit size, the layout is broken on small screen.

After some digging, this is because .app-wrapper have grid-template-columns: auto 1fr;, the auto get the content size wrong in this case.

Patch

.app-main-wrapper {
  @include media-breakpoint-down(lg) {
    width: 100vw;
  }
}

Screenshots Before the patch: image

After the patch: image

Environment (please complete the following information):

  • AdminLTE Version: 4.0.0-beta1
  • Operating System: Debian 12
  • Browser (Version): Firefox 115.13.0 ESR

Safranil avatar Jul 15 '24 22:07 Safranil