Skip to content

Commit 8910c98

Browse files
committed
More Michael suggestions
1 parent bdf411d commit 8910c98

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

‎packages/documentation-framework/components/example/example.css‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
--ws-code-editor--tooltip--MaxWidth: 16ch;
33
}
44

5+
.ws-heading.ws-example-heading {
6+
margin-block-end: -0.5rem;
7+
}
8+
59
.ws-code-editor:not(.ws-example-code-expanded) > .pf-v6-c-code-editor__header::before {
610
--pf-v6-c-code-editor__header--before--BorderBottomWidth: 0;
711
}

‎packages/documentation-framework/components/example/example.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ export const Example = ({
354354
return (
355355
<Stack hasGutter>
356356
<Stack hasGutter>
357-
<AutoLinkHeader metaText={metaText} headingLevel="h3">
357+
<AutoLinkHeader metaText={metaText} headingLevel="h3" className="ws-example-heading">
358358
{title}
359359
</AutoLinkHeader>
360360
{children}

‎packages/documentation-framework/templates/mdx.css‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,5 @@
3636
min-width: 825px;
3737
max-width: 1200px;
3838
flex-grow: 1;
39+
gap: 2.5rem;
3940
}

0 commit comments

Comments
 (0)