Skip to content

Commit

Permalink
Tweak the source view to display tabs as 4 spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Jun 2, 2024
1 parent cf97e94 commit 193b493
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
- Added additional block into inspector popup to display normalized props when `view.options.props` is specified
- Added `overrideProps(obj)` jora helper method which overrides object's values (current) with values from passed `obj` (`#.props` by default)
- Modified the `link`, `text`, `text-numeric` and `text-match` views to allow all render props to be passed via config, in addition to data
- Modified the `link` view to allow all render props to be passed via config, in addition to data
- Tweaked the `source` view to display tabs as 4 spaces (`tab-size: 4`)
- Added `onClick` option for `badge` views
- Removed `hint` option for `badge` views, use `tooltip` option instead
- Removed fallback methods for obtaining a `ReadableStream` from a `Blob`
Expand Down
1 change: 1 addition & 0 deletions src/views/text/source.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
font-size: 12px;
line-height: 1.6;
white-space: normal;
tab-size: 4;
}

.view-source__prelude {
Expand Down

0 comments on commit 193b493

Please sign in to comment.