desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Can we make the sidebar wider?

Open ghost opened this issue 2 years ago • 6 comments

Captchas

  • [X] I have read the instructions.
  • [X] I have searched existing issues and avoided creating duplicates.
  • [X] I am not filing an enhancement request.

What happened?

Hello there.

Might not strictly be a bug, but it's something I thought worth mentioning. From my perspective, the sidebar appears to be quite narrow compared to Arc's design.

截屏2024-09-09 11 15 40

So, how can we make it a little wider?

Thanks a lot!

Reproducible?

  • [ ] I have checked that this issue cannot be reproduced on Mozilla Firefox.

Version

1.0.0 alpha 37

What platform are you seeing the problem on?

macOS - aarch64

Relevant log output

No response

ghost avatar Sep 09 '24 03:09 ghost

Yes, you can make the sidebar wider! Open your Zen profile folder (about:support > "Profile Directory"). In the chrome folder, create a userChrome.css file (if it doesn't exist) and add this:

@media (-moz-bool-pref: "zen.view.sidebar-expanded") {
  #navigator-toolbox:is(#navigator-toolbox[zen-user-hover="true"]:hover, #navigator-toolbox[zen-user-hover="true"]:focus-within, #mainPopupSet[zen-user-hover="true"]:has(> #appMenu-popup:hover) ~ toolbox, #navigator-toolbox[zen-user-hover="true"]:has([open="true"]:not(tab):not(#zen-sidepanel-button)), :not([zen-user-hover="true"])) {
    --zen-navigation-toolbar-min-width: 200px !important;
    width: 300px;
  }
}

Adjust the width: 300px to your preference.

tux-arch avatar Sep 09 '24 05:09 tux-arch

Yes, you can make the sidebar wider! Open your Zen profile folder (about:support > "Profile Directory"). In the chrome folder, create a userChrome.css file (if it doesn't exist) and add this:

@media (-moz-bool-pref: "zen.view.sidebar-expanded") {
  #navigator-toolbox:is(#navigator-toolbox[zen-user-hover="true"]:hover, #navigator-toolbox[zen-user-hover="true"]:focus-within, #mainPopupSet[zen-user-hover="true"]:has(> #appMenu-popup:hover) ~ toolbox, #navigator-toolbox[zen-user-hover="true"]:has([open="true"]:not(tab):not(#zen-sidepanel-button)), :not([zen-user-hover="true"])) {
    --zen-navigation-toolbar-min-width: 200px !important;
    width: 300px;
  }
}

Adjust the width: 300px to your preference.

Awesome. Thank you tux-arch, you really make my day :)

ghost avatar Sep 09 '24 06:09 ghost

I reopen this issue COZ after updating to 1.0.1-a.13, the method above doesn't work anymore :(

ghost avatar Oct 28 '24 00:10 ghost

Update: after updating to 1.0.1-a.14 (Don't know if it works on 13), you can resize the sidebar by (disabling compact mode and) dragging the bar edge directly! A clever and user-friendly design :)

ghost avatar Oct 28 '24 00:10 ghost

I am at 1.0.1-a.19 and I could resize the sidebar by first right click either on sidebar or toolbar, choose Customize toolbar then drag the bar edge directly as you said. 💯

lamteteeow avatar Nov 18 '24 21:11 lamteteeow

Yes you should be able to drag the sidebar to adjust its width.

salamijason avatar Dec 15 '24 09:12 salamijason