Skip to content

Conversation

SO9010
Copy link
Contributor

@SO9010 SO9010 commented Sep 13, 2025

This uses the same solution as previously #8322
To fix #6972

I programmed this with no AI assistance, however here is a change log written by claude :)

  1. browser-box.inc.xhtml (via patch)
    Refactored the tabbox structure:
    Wrapped the tabbox in a new .
    Added <html:div id="zen-appcontent-navbar-container"></html:div> for navbar items.
    Introduced to contain the tabbox.
    Included zen-tabbrowser-elements.inc.xhtml inside the tabbox.
  2. ZenStartup.mjs
    Updated sidebar relocation logic:
    Changed the target for appending sidebar elements from tabbrowser-tabbox to zen-tabbox-wrapper to match the new structure.
  3. zen-sidebar.css
    Adjusted sidebar styling:
    Increased the margin for #sidebar-splitter.
    Set margin-right and margin-left to 0 for sidebar box depending on side.
    Changed ordering logic for sidebar elements to target #sidebar-box[sidebar-positionend] and its adjacent splitter, instead of nested selectors.
    Summary:
    You restructured the browser tabbox layout to use new wrapper elements, updated the startup logic to match this structure, and refined sidebar CSS for improved layout and compatibility with the new DOM hierarchy.

XD sorry for the confusion with the other PR, turns out i just didnt add the language when building it the second time to test which is why I thought it wasnt working! This is the correct solution :)

@SO9010 SO9010 requested a review from mr-cheffy as a code owner September 13, 2025 11:37
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. Bug labels Sep 13, 2025
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Sep 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failing to drag tab for split window when native sidebar is on the right
2 participants