Summary Files Commits Branches @commit @diff @stats
path: root / src / accordions.less
diff options
context:
space:
mode:
Commit78de8f1a1f423a86c05f361e87012a8ea1f1211b (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-07-01 15:33:02 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-07-01 15:33:02 +0800
Files4efd8509510b7b831dd665a6273b07ec9cc0da5e /src/accordions.less
Spectre-Dark-Gruvbox-78de8f1a1f423a86c05f361e87012a8ea1f1211b.tar
Spectre-Dark-Gruvbox-78de8f1a1f423a86c05f361e87012a8ea1f1211b.tar.gz
Spectre-Dark-Gruvbox-78de8f1a1f423a86c05f361e87012a8ea1f1211b.zip
Parentef4918530c3d332abbfd4e3076ffc8f9405d4da7 (diff)
IMPORTANT: Replace all rem units to px
1 files changed, 3 insertions, 3 deletions
-rw-r--r--src/accordions.less6
diff --git a/src/accordions.less b/src/accordions.less
index 45d40b9..df630ea 100644
--- a/src/accordions.less
+++ b/src/accordions.less
@@ -10,7 +10,7 @@
}
}
& ~ .accordion-body {
- max-height: 100rem;
+ max-height: 1000px;
transition: max-height 3s ease;
}
}
@@ -18,7 +18,7 @@
.accordion-header {
display: block;
- padding: 1rem;
+ padding: @layout-spacing;
.icon {
transition: all .25s ease;
@@ -26,7 +26,7 @@
}
.accordion-body {
- margin-bottom: 1rem;
+ margin-bottom: @layout-spacing;
max-height: 0;
overflow: hidden;
transition: max-height .3s ease;