Skip to content

Commit c4be2ef

Browse files
committed
fix(rangeSlider): fixed tooltip CSS & outdated default theme.
1 parent ab86d47 commit c4be2ef

File tree

4 files changed

+4
-243
lines changed

4 files changed

+4
-243
lines changed

css/default/_range-slider.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $range-slider-handle-bg: $white;
1515
background: $range-slider-bg;
1616
height: $range-slider-target-height;
1717
margin-top: 2em;
18-
margin-bottom: 4em;
18+
margin-bottom: 2em;
1919
}
2020

2121
@include element(base) {
@@ -69,7 +69,7 @@ $range-slider-handle-bg: $white;
6969
@include element(tooltip) {
7070
position: absolute;
7171
background: $white;
72-
top: -2em;
72+
top: -$range-slider-handle-size - 2px;
7373
font-size: .8em;
7474
}
7575

docs/_layouts/default.html

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
{% else %}
1515
<link rel="stylesheet" href="//cdn.jsdelivr.net/instantsearch.js/0/instantsearch.min.css" />
1616
{% endif %}
17-
<link rel="stylesheet" href="{{ "/css/default-theme.css" | prepend: site.baseurl }}">
1817

1918
<link rel="stylesheet" media="screen" href="//fonts.googleapis.com/css?family=Raleway:300,800" />
2019
<link rel="stylesheet" media="screen" href="//fonts.googleapis.com/css?family=Open+Sans:300,400,600" />

docs/css/_documentation.sass

+2-1
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,9 @@ code
8585
.documentation-content
8686
padding: 30px
8787
font-size: 14px
88-
line-height: 1.8em
8988
color: rgba(0, 0, 0, 0.75)
89+
p
90+
line-height: 1.8em
9091
h1[id], h2[id], h3[id]
9192
clear: both
9293
h1[id], h2[id], h3[id], h4[id], h5[id]

docs/css/default-theme.css

-239
This file was deleted.

0 commit comments

Comments
 (0)