Skip to content

Commit

Permalink
Removing previous lint rule disabling - turns out it's better to actu…
Browse files Browse the repository at this point in the history
…ally read the error rather than just straight up disabling it
  • Loading branch information
Paul Sandwell committed Mar 23, 2018
1 parent 7585e97 commit 6e060cc
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions src/components/TrustSetting/TrustSetting.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
right: 0;
bottom: 22px;
}

.TrustSetting:after {
content: '';
width: 10px;
Expand All @@ -35,10 +36,12 @@
border-radius: 0px 10px 10px 0;
bottom: 22px;
}

.TrustSetting.max:before,
.TrustSetting.max:after {
display: none;
}

.TrustSetting input {
-webkit-box-align: center;
-ms-flex-align: center;
Expand All @@ -56,19 +59,15 @@
width: 240px;
overflow: hidden;
}
.TrustSetting input:focus {
-webkit-box-shadow: none;
box-shadow: none;
outline: none;
}
/* stylelint-disable no-descending-specificity */

.TrustSetting input::-webkit-slider-runnable-track {
background: linear-gradient(to right, var(--track-gradient-start), var(--track-gradient-end));
content: '';
height: 10px;
pointer-events: none;
border-radius: 10px;
}

.TrustSetting input::-webkit-slider-thumb {
height: 20px;
width: 20px;
Expand All @@ -78,6 +77,7 @@
border-radius: 10px;
border: 1px solid grey;
z-index: 100;
margin-top: -5px;
box-shadow: 5px 0 0 -5px var(--track-post-color),
6px 0 0 -5px var(--track-post-color),
7px 0 0 -5px var(--track-post-color),
Expand Down Expand Up @@ -314,6 +314,10 @@
238px 0 0 -5px var(--track-post-color),
239px 0 0 -5px var(--track-post-color),
240px 0 0 -5px var(--track-post-color);
margin-top: -5px;
}
/* stylelint-ensable */

.TrustSetting input:focus {
-webkit-box-shadow: none;
box-shadow: none;
outline: none;
}

0 comments on commit 6e060cc

Please sign in to comment.