Starting with Firefox version 89, the compact mode density option was removed from the Customize panel but you can still activate it in the Configuration Editor (about:config page). Warning: Changing advanced preferences can affect Firefox’s stability and security. This is recommended for advanced users only.
- Type about:config in the address bar and press Return.
A warning page may appear. Click Accept the Risk and Continue to go to the about:config page. - Find the browser.compactmode.show preference.
- Switch the toggle to true and then close the tab.
- Click the menu button to open the menu panel.
- Click More tools.
- Choose Customize toolbar….
- At the bottom of the panel, click Density.
- Choose Compact (not supported) from the menu options.
- Click Done.