Bug 1463355 - Remove right margin/padding from split console close button in case of the platform is not 'mac'. r=nchevobbe, a=RyanVM
authorDaisuke Akatsuka <dakatsuka@mozilla.com>
Wed, 23 May 2018 16:43:54 +0900
changeset 473525 923b9033e8d4f8a3ba0624994681d355fe7e3dd0
parent 473524 3bb86bbf74af6e37b20673b187a8dd3ee66f1e75
child 473526 dbd8df4584c4df1bf4858568918d461aad8b1396
push id1728
push userjlund@mozilla.com
push dateMon, 18 Jun 2018 21:12:27 +0000
treeherdermozilla-release@c296fde26f5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnchevobbe, RyanVM
bugs1463355
milestone61.0
Bug 1463355 - Remove right margin/padding from split console close button in case of the platform is not 'mac'. r=nchevobbe, a=RyanVM MozReview-Commit-ID: DB8yM4Ce5TS
devtools/client/themes/webconsole.css
--- a/devtools/client/themes/webconsole.css
+++ b/devtools/client/themes/webconsole.css
@@ -554,16 +554,27 @@ a.learn-more-link.webconsole-learn-more-
   grid-column: 1 / -1;
 }
 
 .split-console-close-button-wrapper {
   min-height: var(--primary-toolbar-height);
   /* We will need to display the close button in the right-top always. */
   grid-column: -1 / -2;
   grid-row: 1 / 2;
+  padding-inline-end: 0;
+}
+
+/* On OSX the cursor turns into a window-resizing cursor at the edges of the
+ * window, so bring the end of the close button in. */
+:root[platform="mac"] .split-console-close-button-wrapper {
+  padding-inline-end: 3px;
+}
+
+#split-console-close-button {
+  margin-inline-end: 0;
 }
 
 .webconsole-filterbar-primary .devtools-plaininput {
   flex: 1 1 100%;
   align-self: stretch;
   margin-left: 1px;
   padding-inline-start: 4px;
   border: 1px solid transparent;