no flex-grow — the extra space stays empty

Logo
Search
Login

Search has flex-grow: 1 — it takes ALL the extra space

Logo
Search
Login

all have flex: 1 — equal widths

1
1
1

flex: 1 · flex: 2 · flex: 1 — shares of 1 : 2 : 1

1 share
2 shares
1 share