amend(flex): use flex: 1 instead of complicated width property