aboutsummaryrefslogtreecommitdiff
path: root/less/close.less
diff options
context:
space:
mode:
Diffstat (limited to 'less/close.less')
-rw-r--r--less/close.less20
1 files changed, 10 insertions, 10 deletions
diff --git a/less/close.less b/less/close.less
index e879da4d6..5fe23b3dc 100644
--- a/less/close.less
+++ b/less/close.less
@@ -19,15 +19,15 @@
cursor: pointer;
.opacity(.5);
}
-}
-// Additional properties for button version
-// iOS requires the button element instead of an anchor tag.
-// If you want the anchor version, it requires `href="#"`.
-button.close {
- padding: 0;
- cursor: pointer;
- background: transparent;
- border: 0;
- -webkit-appearance: none;
+ // Additional properties for button version
+ // iOS requires the button element instead of an anchor tag.
+ // If you want the anchor version, it requires `href="#"`.
+ button& {
+ padding: 0;
+ cursor: pointer;
+ background: transparent;
+ border: 0;
+ -webkit-appearance: none;
+ }
}