-
-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #216 from code-hike/better-scrollbars
Better scrollbars
- Loading branch information
Showing
6 changed files
with
109 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,79 @@ | ||
### with width | ||
|
||
<CH.Code debug > | ||
|
||
```js | ||
foo | ||
// link(1:2) https://codehike.org | ||
const hi = 'hi' | ||
const hi = 'hi' | ||
const hi = 'hi' | ||
// link[2:18] https://codehike.org | ||
hello world | ||
hello | ||
const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" | ||
const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" | ||
``` | ||
|
||
</CH.Code> | ||
|
||
<CH.Code> | ||
|
||
```js | ||
const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" | ||
const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" | ||
``` | ||
|
||
</CH.Code> | ||
|
||
### with width | ||
|
||
<CH.Code debug style={{width: 400}}> | ||
|
||
```js | ||
const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" | ||
const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" | ||
``` | ||
|
||
</CH.Code> | ||
|
||
<CH.Code style={{width: 400}}> | ||
|
||
```js | ||
const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" | ||
const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" | ||
``` | ||
|
||
</CH.Code> | ||
|
||
### with zoom | ||
|
||
<CH.Code debug maxZoom={0.7} minZoom={0.7}> | ||
|
||
```js | ||
const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" | ||
const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" | ||
``` | ||
|
||
</CH.Code> | ||
|
||
<CH.Code maxZoom={0.7} minZoom={0.7}> | ||
|
||
```js | ||
const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" | ||
const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" | ||
``` | ||
|
||
</CH.Code> | ||
|
||
### with line numbers | ||
|
||
<CH.Code debug lineNumbers> | ||
|
||
```js | ||
const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" | ||
const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" | ||
``` | ||
|
||
</CH.Code> | ||
|
||
<CH.Code lineNumbers> | ||
|
||
```js | ||
const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" | ||
const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" | ||
``` | ||
|
||
</CH.Code> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters