AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

Option to make UI full width

Open craggyh opened this issue 1 year ago • 2 comments

Prerequisites

  • [x] I have checked the Wiki and Discussions and found no answer

  • [x] I have searched other issues and found no duplicates

  • [x] I want to request a feature or enhancement and not ask a question

The problem

Is there any way to make the overall UI full width? Currently the width is limited to 1200px but on wide screens this seems too compact and leaves a lot of empty space at the sides that would look better and be more usable if we had an option to switch to using full screen width available.

Proposed solution

Maybe just a Fixed/Responsive checkbox would suit most use cases??

Alternatives considered and additional information

No response

craggyh avatar Sep 12 '25 09:09 craggyh

Thank you for your feature request. We'll consider implementing your suggestion.

sofvaskina avatar Jun 22 '26 10:06 sofvaskina

There is already a dormant implementation hook for this in the current client_v2 theme: Layout.module.pcss defines container_full, which removes the 1152 px desktop maximum, but no component applies that class and no setting exposes it.

That makes the styling part small. The remaining product decision is where the preference belongs:

  • a browser-local UI preference (like theme/language) avoids changing the server API and can apply immediately to all routed pages; or
  • a server setting would synchronize the choice across browsers but requires a public configuration/API change for a purely visual preference.

I recommend the first option: add a Content width: Fixed / Full control near the existing UI preferences, persist it in localStorage, and apply the existing container_full modifier through the shared layout path. The default would remain fixed, so current behavior is unchanged.

Tests should cover the default, persisted full-width selection, live switching, invalid stored values, and mobile behavior. A visual regression at wide desktop widths should also verify tables/charts without changing forms that have their own intentional narrow maximums.

Would maintainers prefer this in the sidebar UI controls or on General settings? Once the placement is chosen, this should be a focused client_v2 PR. I found no competing PR for #8011.

Sil3ntVip3r avatar Aug 03 '26 08:08 Sil3ntVip3r