Fix truncated button icons on Safari
Removing margin offset to fix issue with button icons being
visually truncated on Safari. Removing additional redundant
code around same icon/buttons.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: Ie1ef89023a043a70a0126a21be57febb9afae19a
diff --git a/app/common/styles/base/buttons.scss b/app/common/styles/base/buttons.scss
index 1e2b799..bd7207d 100644
--- a/app/common/styles/base/buttons.scss
+++ b/app/common/styles/base/buttons.scss
@@ -53,7 +53,6 @@
display: inline-block;
margin-right: 0.3em;
vertical-align: bottom;
- margin-left: -0.5em;
}
img {
width: 1.5em;
diff --git a/app/common/styles/elements/modals.scss b/app/common/styles/elements/modals.scss
index 3132934..8481e22 100644
--- a/app/common/styles/elements/modals.scss
+++ b/app/common/styles/elements/modals.scss
@@ -125,10 +125,6 @@
.uib-modal.in .modal-dialog {
transform: translate(0, 10vh);
margin-top: 50px;
- .icon__close {
- margin: 0;
- padding: 0;
- }
.modal-content {
border-radius: 0;
border-color: $primary-dark;
@@ -144,12 +140,6 @@
.modal-header {
display: block;
}
- .btn--close {
- padding: 0;
- svg {
- height: 1.6em;
- }
- }
}
.uib-modal {
diff --git a/app/configuration/styles/snmp.scss b/app/configuration/styles/snmp.scss
index a249118..6e99c80 100644
--- a/app/configuration/styles/snmp.scss
+++ b/app/configuration/styles/snmp.scss
@@ -9,6 +9,6 @@
padding-right: 1.5rem;
}
.btn-add-manager {
- padding: 0;
+ padding-left: 0;
}
}