From 78de8f1a1f423a86c05f361e87012a8ea1f1211b Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Sat, 1 Jul 2017 15:33:02 +0800 Subject: IMPORTANT: Replace all rem units to px --- src/carousels.less | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/carousels.less') diff --git a/src/carousels.less b/src/carousels.less index ee30edf..510560d 100644 --- a/src/carousels.less +++ b/src/carousels.less @@ -47,10 +47,10 @@ z-index: @zindex-2; } .item-prev { - left: 2rem; + left: 20px; } .item-next { - right: 2rem; + right: 20px; } } @@ -72,31 +72,31 @@ } .carousel-nav { - bottom: 1rem; + bottom: @layout-spacing; display: flex; justify-content: center; left: 50%; position: absolute; transform: translateX(-50%); - width: 20rem; + width: 200px; z-index: @zindex-2; .nav-item { color: fade(@gray-color-light, 50%); display: block; flex: 1 0 auto; - height: 4rem; - margin: .4rem; - max-width: 5rem; + height: @unit-8; + margin: @unit-1; + max-width: 50px; position: relative; &::before { background: currentColor; content: ""; display: block; - height: .3rem; + height: 2px; position: absolute; - top: 2rem; + top: 10px; width: 100%; } } -- cgit v1.3.1-26-gb76a