Skip to content

Commit 00ccec4

Browse files
authored
Merge pull request #84 from TeskaLabs/refactor/asab-react-json-fontsize
REfactor defautl fontsize height in AsabReactJson component
2 parents 3acfca6 + 28b754a commit 00ccec4

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG for ASAB WebUI Components
22

3+
## 27.5.4
4+
5+
- `AsabReactJson` - Define `14px` as a default fontsize (#84)
6+
37
## 27.5.3
48

59
- `AsabReactJson` - Reduce padding around `JsonEditor` (#83)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "asab_webui_components",
3-
"version": "27.5.3",
3+
"version": "27.5.4",
44
"license": "BSD-3-Clause",
55
"description": "TeskaLabs ASAB WebUI Components Library",
66
"contributors": [

src/components/AsabReactJson/AsabReactJson.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export const AsabReactJson = ({src, displayDataTypes = false, ...props}) => {
5151
customNodeDefinitions={displayDataTypes ? [displayDataTypeDefinition] : undefined}
5252
viewOnly={true}
5353
maxWidth="100%"
54+
rootFontSize="14px"
5455
theme={[
5556
theme === 'dark' ? githubDarkTheme : githubLightTheme,
5657
{

0 commit comments

Comments
 (0)