Fix line highlights, lol

This commit is contained in:
Rico Sta. Cruz 2017-09-01 05:30:54 +08:00
parent 1984a2404d
commit 8d4a0146c2
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
2 changed files with 4 additions and 3 deletions

View File

@ -37,11 +37,11 @@
// Line highlight
.line-highlight {
transform: translate3d(0, 1px, 0);
transform: translate3d(0, 2px, 0);
background: linear-gradient(
to right,
mix($base-c, white, 5%) 25%,
white);
rgba($base-c, 0.05) 25%,
transparent);
}
// Line highlight ranges

View File

@ -16,6 +16,7 @@ Testing
```bash
npm install --save-dev jest babel-jest
```
{: data-line="1"}
```js
/* Add to package.json */