Skip to content

Commit 5ba7ca0

Browse files
committed
fix jsonview css
1 parent 661a827 commit 5ba7ca0

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

src/AiidaExplorer/VisualiserPane/RawDataVisualiser.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ export default function RawDataVisualiser({ nodeData = {} }) {
117117

118118
const customStyle = {
119119
...defaultStyles,
120+
basicChildStyle: `${defaultStyles.basicChildStyle} custom-basic-childstyle`,
120121
label: `${defaultStyles.label} custom-json-label`,
121122
container: `${defaultStyles.container} custom-json-container`,
122123
};
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
/* Make JSON keys blue and use a light font weight */
22
.custom-json-label {
33
font-size: 14px;
4+
font-weight: 500;
5+
}
6+
7+
.custom-basic-childstyle {
8+
font-size: 14px;
49
}
510

611
/* Make BG BE TRANSPARENT */
7-
.custom-json-bg {
12+
.custom-json-container {
813
background-color: transparent !important;
914
font-size: 14px;
15+
font-weight: 500;
1016
}

0 commit comments

Comments
 (0)