Skip to content

Commit 58b3876

Browse files
authored
Merge pull request #17 from advanced-rest-client/fix/style-variable
Fix/style variable
2 parents f6d413c + fae9d9b commit 58b3876

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@api-components/api-type-document",
33
"description": "A documentation table for type (resource) properties. Works with AMF data model",
4-
"version": "4.2.5",
4+
"version": "4.2.6",
55
"license": "Apache-2.0",
66
"main": "index.js",
77
"module": "index.js",

src/ShapeStyles.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default css`
2626
.property-title {
2727
font-size: var(
2828
--property-shape-document-title-font-size,
29-
var(--arc-font-subhead-font-size)
29+
var(--arc-font-subhead-font-size, 1rem)
3030
);
3131
font-weight: var(
3232
--property-shape-document-title-font-weight,
@@ -38,7 +38,6 @@ export default css`
3838
);
3939
4040
margin: 4px 0 4px 0;
41-
font-size: 1rem;
4241
font-weight: var(--api-type-document-property-title-font-weight, 500);
4342
word-break: break-word;
4443
color: var(--api-type-document-property-title-color);

0 commit comments

Comments
 (0)