Closed
Bug 1463355
Opened 7 years ago
Closed 7 years ago
Split console's close [x] button should be right aligned (without margin/padding right)
Categories
(DevTools :: Console, defect, P3)
Tracking
(firefox61 fixed, firefox62 fixed)
RESOLVED
FIXED
Firefox 62
People
(Reporter: nachtigall, Assigned: daisuke)
References
Details
Attachments
(1 file)
59 bytes,
text/x-review-board-request
|
nchevobbe
:
review+
RyanVM
:
approval-mozilla-beta+
|
Details |
The split console's close button has the same problem like the normal DevTools' close button had: There's a right margin/padding of 3, 4 pixels making it impossible to just sloppily hit the close button by moving the mouse to the outmost right.
At least in Windows 10. See bug 1455589 on how it was fixed there. The same should be applied for the console split button.
Updated•7 years ago
|
Priority: -- → P3
Comment hidden (mozreview-request) |
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8979824 [details]
Bug 1463355: Remove right margin/padding from split console close button in case of the platform is not 'mac'.
https://reviewboard.mozilla.org/r/245994/#review252034
::: devtools/client/themes/webconsole.css:565
(Diff revision 1)
> +:root[platform="mac"] .split-console-close-button-wrapper {
> + padding-inline-end: 3px;
> +}
why is there a special treatment for mac ? If it is needed, can we add a comment explaining why ?
::: devtools/client/themes/webconsole.css:571
(Diff revision 1)
> + padding-inline-end: 3px;
> +}
> +
> +#split-console-close-button {
> + margin-inline-end: 0;
> + padding-inline-end: 0;
I think the concern raised by the reporter is that he want to be able to click when puttin the mouse at the top right corner basically.
So, I think we can keep the padding as it expand the click target.
Attachment #8979824 -
Flags: review?(nchevobbe) → review-
Assignee | ||
Comment 4•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8979824 [details]
Bug 1463355: Remove right margin/padding from split console close button in case of the platform is not 'mac'.
https://reviewboard.mozilla.org/r/245994/#review252034
> why is there a special treatment for mac ? If it is needed, can we add a comment explaining why ?
Thank you for the reviewing, Nicolas!
It's for consistency with toolbox pane.
https://searchfox.org/mozilla-central/source/devtools/client/themes/toolbox.css#169
I'll add a comment here.
> I think the concern raised by the reporter is that he want to be able to click when puttin the mouse at the top right corner basically.
> So, I think we can keep the padding as it expand the click target.
Okay, leave as it is.
Comment hidden (mozreview-request) |
Comment 6•7 years ago
|
||
mozreview-review |
Comment on attachment 8979824 [details]
Bug 1463355: Remove right margin/padding from split console close button in case of the platform is not 'mac'.
https://reviewboard.mozilla.org/r/245994/#review252130
Thanks Daisuke !
I played with it for a bit and it looks good to me :)
Attachment #8979824 -
Flags: review?(nchevobbe) → review+
Assignee | ||
Comment 7•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8979824 [details]
Bug 1463355: Remove right margin/padding from split console close button in case of the platform is not 'mac'.
https://reviewboard.mozilla.org/r/245994/#review252130
Thanks Nicolas!
I'll make this patch to land!
Pushed by dakatsuka@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/55fba2421083
Remove right margin/padding from split console close button in case of the platform is not 'mac'. r=nchevobbe
Comment 9•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox62:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 62
Comment 10•7 years ago
|
||
Comment on attachment 8979824 [details]
Bug 1463355: Remove right margin/padding from split console close button in case of the platform is not 'mac'.
Approval Request Comment
[Feature/Bug causing the regression]: bug 1444302
[User impact if declined]: As mentioned bug 1455589 comment 0, some user expected that most-right button will close the window. So those kind of user will feel hard to use.
[Is this code covered by automated tests?]: No.
[Has the fix been verified in Nightly?]: Yes
[Needs manual test from QE? If yes, steps to reproduce]: No
[List of other uplifts needed for the feature/fix]: bug 1444302
[Is the change risky?]: No
[Why is the change risky/not risky?]: This is only the change of styles.
[String changes made/needed]: N/A
Attachment #8979824 -
Flags: approval-mozilla-beta?
Comment 11•7 years ago
|
||
Comment on attachment 8979824 [details]
Bug 1463355: Remove right margin/padding from split console close button in case of the platform is not 'mac'.
CSS fix needed to support bug 1444302. Approved for 61.0b10.
Attachment #8979824 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 12•7 years ago
|
||
bugherder uplift |
status-firefox61:
--- → fixed
Flags: in-testsuite-
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•