-
Notifications
You must be signed in to change notification settings - Fork 900
Notebookbar: Fix toolbar alignments on safari #13360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notebookbar: Fix toolbar alignments on safari #13360
Conversation
56310b3 to
07b143b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please split changes into different commits, 1 for revert and 2nd for the new changes. Also please explain why we are reverting and also why the new changes are needed.
WRT this specific PR and the problem with the vertical alignments in Safari: If adjusting the height solves it for Safari then it seems to me that one or more elements are inheriting different css properties (such as box-sizing, border, line-height and possible some of the flex properties)
Also it would be good to avoid px otherwise the elements do not get scaled up/down depending on the user's zoom
cdc69b2 to
b481d49
Compare
-Unotoolbuttons with labels had varying heights across browsers, leading to misaligned toolbar elements. This change enforces a consistent height using `--notebookbar-element-height` and centers their content, ensuring uniform alignment in both Chrome and Safari. Signed-off-by: Banobe Pascal <[email protected]> Change-Id: Ibf2e25eefcc23f12bf52d5eb396837f6affbb15b
b481d49 to
4f1775d
Compare
pedropintosilva
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
@banobepascal can you pasted ipad screenshots or did you test on ipad? |
WITH THIS COMMIT ON IPAD
|
|
my screenshot is from iOS 26 yours is from iOS 18, could you please re-test it with iOS 18? |
|
When you are fully happy with this PR, and merge it to master, please backport to distro/collabora/co-25.04 as well. |














Change-Id: I7059c81ff35b975176b0ee65af7e0293b4973810
Summary
--notebookbar-element-heightand centers their content, ensuring uniform alignment in both Chrome and Safari.PREVIEWS
SAFARI

CHROME

Checklist
make prettier-writeand formatted the code.make checkmake runand manually verified that everything looks okay