#7159 - Top toolbar doesn't fit the frame in case of two ketcher instanses - #11919
Open
mariam-khutuashvili wants to merge 1 commit into
Open
mariam-khutuashvili wants to merge 1 commit into
mariam-khutuashvili wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
How the feature works? / How did you fix the issue?
(Screenshots, videos, or GIFs, if applicable)
The top toolbar collapsed its external-function buttons only below a fixed 650 px, a threshold last tuned in 2022. Buttons were added since, and the expanded toolbar now needs 732 px in the narrow layout, so every width between 650 and 732 px overflowed — which is exactly the width each instance gets on the duo page, pushing the zoom control outside the frame.
No rendering or test ids change. Verified in the browser: the duo page at 1498 px collapses both toolbars with no overflow; the single page swept from 1100 down to 560 px never overflows and collapses exactly where the buttons stop fitting; the #3840 URL at 690 px keeps its remaining buttons inline; the popup dialog (800 px) stays expanded as before, so no screenshot baselines move. Unit-tested against the measured widths of the three layout regimes.
Check list
#1234 – issue name