Skip to content

Commit f8f36e6

Browse files
author
Valentin Hervieu
committed
Add a bar wrapper to enlarge the clickable area.
1 parent 38ed61a commit f8f36e6

File tree

5 files changed

+23
-7
lines changed

5 files changed

+23
-7
lines changed

dist/rzslider.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,18 @@ rzslider span.rz-base {
3232
padding: 0;
3333
}
3434

35+
rzslider span.rz-bar-wrapper {
36+
width: 100%;
37+
height: 32px;
38+
padding-top: 16px;
39+
margin-top: -16px;
40+
box-sizing: border-box;
41+
}
42+
3543
rzslider span.rz-bar {
3644
z-index: 0;
3745
width: 100%;
38-
height: 100%;
46+
height: 4px;
3947
background: #d8e0f3;
4048
-webkit-border-radius: 2px;
4149
-moz-border-radius: 2px;

dist/rzslider.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)