Skip to content

Commit 41f4217

Browse files
authored
Customize example title display (#12)
* display example title * bump version
1 parent a671816 commit 41f4217

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
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-resource-example-document",
33
"description": "A viewer for examples in a resource based on AMF model",
4-
"version": "4.3.0",
4+
"version": "4.3.1",
55
"license": "Apache-2.0",
66
"main": "index.js",
77
"module": "index.js",

src/styles/Document.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default css`
2020
font-weight: var(--arc-font-body1-font-weight);
2121
line-height: var(--arc-font-body1-line-height);
2222
font-size: 1rem;
23-
display: block;
23+
display: var(--api-example-title-display, block);
2424
padding: 8px 12px;
2525
background-color: var(--api-example-title-background-color, #ff9800);
2626
color: var(--api-example-title-color, #000);

0 commit comments

Comments
 (0)