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
.line-highlight { .line-highlight {
transform: translate3d(0, 1px, 0); transform: translate3d(0, 2px, 0);
background: linear-gradient( background: linear-gradient(
to right, to right,
mix($base-c, white, 5%) 25%, rgba($base-c, 0.05) 25%,
white); transparent);
} }
// Line highlight ranges // Line highlight ranges

View File

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