-
Notifications
You must be signed in to change notification settings - Fork 975
Fix vertical spacing for all navbar item combinations #10512
Conversation
@petemill it looks great! If you don't mind, would you specify the manual test plan, like I did on #7740 (comment) ? You could re-use the test plan, adding another test case with the update bar. We'd need to make sure this PR does not introduce regressions regarding draggability :-) thanks! |
} | ||
</div> | ||
{ | ||
this.props.isSinglePage |
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.
nice one ;-)
e7c03ae
to
fdaf601
Compare
Fix brave#9370 by using collapsible margin so that items without border+padding can be evenly spaced (caption buttons, bookmark, tab pages), and those with border+padding (notifications, tabs) can be touching. Removes empty element for tab pages when there is only a single page, as it had no functional purpose. Instead, margin is used.
fdaf601
to
9690bf6
Compare
@luixxiul I added the test cases concerning window draggability, ran through those cases on mac and windows, and made some fixes as a result. Ready for your review. |
@luixxiul can you please re-review? Thank you |
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.
The test plan works and changes LGTM.
Fix #9370 by using collapsible margin so that items without border+padding can be evenly spaced (caption buttons, bookmark, tab pages), and those with border+padding (notifications, tabs) can be touching. Removes empty element for tab pages when there is only a single page, as it had no functional purpose. Instead, margin is used.
Buttons, Notification, Bookmarks, Tab Pages, Tabs, Find
Buttons, Notification, Bookmarks, Tab Pages, Tabs
Buttons, Notification, Tab Pages, Tabs
Buttons, Notification, Bookmarks, Tabs
Buttons, Bookmarks, Tab Pages, Tabs
Buttons, Tab Pages, Tabs
Buttons, Tabs
Buttons, Bookmarks, Tabs
Buttons, Tabs, Find
Submitter Checklist:
git rebase -i
to squash commits (if needed).Test Plan:
Draggable area regression checks (inspired by #7740)
Test case 1 - default status
Test case 2 - text only
Test case 3 - text only with tab sets
Test case 4 - text and favicons with tab sets
Test case 5 - only tab sets
Test case 6 - favicon only with and without tab sets
Test case 7 - main menu button (especially Windows)
Test case 8 - notification bar
Test case 9 - find page bar
Reviewer Checklist:
Tests