Why have antd crush my content like this on mobile?

  • 1
    Forgotten or wrong media breakspoints?
  • 1
    The menu is open, close it
  • 0
    Incorrect implementation of the flexbox; hack it by setting width of the content block to 100vw on mobile or change the way menu is positioned.
  • 1
    @Fast-Nop @smoq Yes, I will try something, it baffles me that antd's Layout does not handle this stuff automagically
  • 1
    @smoq I made a new CSS class with min-width: 100vw; and activate it when the menu button appears and is activated (meaning: the menu is visible) otherwise the content is shown as normal.
Add Comment