Bug 1341045 - Make sure RDM close icon is centered within button. r=jryans

MozReview-Commit-ID: 5nlucwAe51L

--HG--
extra : rebase_source : d7d6a3c97967329e51cd33b2c1b070df343f5543
This commit is contained in:
Tim Nguyen 2017-02-25 15:42:31 +00:00
parent d762bbe438
commit f300531367
3 changed files with 3 additions and 10 deletions

View File

@ -1,6 +0,0 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="#0b0b0b">
<path d="M6.7 8l3.6-3.6c.2-.2.2-.5 0-.7-.2-.2-.5-.2-.7 0L6 7.3 2.4 3.7c-.2-.2-.5-.2-.7 0-.2.2-.2.5 0 .7L5.3 8l-3.6 3.6c-.2.2-.2.5 0 .7.2.2.5.2.7 0L6 8.7l3.6 3.6c.2.2.5.2.7 0 .2-.2.2-.5 0-.7L6.7 8z"/>
</svg>

Before

Width:  |  Height:  |  Size: 520 B

View File

@ -5,7 +5,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
DevToolsModules(
'close.svg',
'grippers.svg',
'rotate-viewport.svg',
'screenshot.svg',

View File

@ -171,7 +171,7 @@ select > option.divider {
}
#global-exit-button::before {
background-image: url("./images/close.svg");
background-image: url("chrome://devtools/skin/images/close.svg");
}
#global-screenshot-button:disabled {
@ -468,7 +468,7 @@ select > option.divider {
}
#device-close-button::before {
background-image: url("./images/close.svg");
background-image: url("chrome://devtools/skin/images/close.svg");
margin: -6px 0 0 -6px;
}
@ -507,7 +507,7 @@ select > option.divider {
}
.device-remove-button:empty::before {
background-image: url("./images/close.svg");
background-image: url("chrome://devtools/skin/images/close.svg");
margin: -6px 0 0 -6px;
}