Home > Mobile >  MUI buttons won't center
MUI buttons won't center

Time:11-05

I probably have a question as old as time, but my buttons won't cooperate! This is my first time using MUI so maybe there's something I don't understand.

Please take a look at the Codesandbox Demo

CodePudding user response:

I don't really get your expectations but you can set a space between items of a flex box using gap property.

<Box display="flex" gap={1}>

codesandbox example

  • Related