Summary Files Commits Branches @commit @diff @stats
path: root / src / carousels.less
diff options
context:
space:
mode:
1 files changed, 6 insertions, 6 deletions
-rw-r--r--src/carousels.less12
diff --git a/src/carousels.less b/src/carousels.less
index 510560d..276bc1f 100644
--- a/src/carousels.less
+++ b/src/carousels.less
@@ -47,10 +47,10 @@
z-index: @zindex-2;
}
.item-prev {
- left: 20px;
+ left: 1rem;
}
.item-next {
- right: 20px;
+ right: 1rem;
}
}
@@ -78,7 +78,7 @@
left: 50%;
position: absolute;
transform: translateX(-50%);
- width: 200px;
+ width: 10rem;
z-index: @zindex-2;
.nav-item {
@@ -87,16 +87,16 @@
flex: 1 0 auto;
height: @unit-8;
margin: @unit-1;
- max-width: 50px;
+ max-width: 2.5rem;
position: relative;
&::before {
background: currentColor;
content: "";
display: block;
- height: 2px;
+ height: @border-width-lg;
position: absolute;
- top: 10px;
+ top: .5rem;
width: 100%;
}
}