Skip to content

Commit

Permalink
hide toolbar - fix some docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmars committed Jan 17, 2024
1 parent 0610898 commit 884fc31
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .storybook/manager-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@
*::-webkit-scrollbar-track:not(:corner-present) {
border-bottom-right-radius: inherit;
}
}

/* stylelint-enable unit-allowed-list */
button[aria-label="Shortcuts"] {
display: none;
}
</style>
4 changes: 3 additions & 1 deletion .storybook/manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ import myTheme from './theme';

addons.setConfig({
theme: myTheme,
enableShortcuts: false,
showToolbar: false,
sidebar: {
showRoots: true
showRoots: false
}
});
4 changes: 2 additions & 2 deletions src/components/Pega_Extensions_FieldGroupAsRow/Docs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import * as DemoStories from './demo.stories';

<Meta of={DemoStories} />

# Button
# Overview

The FieldGroupAsRow component allows to render a field group horizontally instead of being render vertically - This behavior could be used to compare a couple of objects side-by-side or to reduce the amount of vertical scrolling.

The component creates a wrapper DIV using styled component that change the display of the fieldset component from a column direction to a row direction.
The component creates a wrapper DIV using styled component that changes the display of the fieldset component from a column to a row direction.

For more details on how to use this component, see [How to implement the compare and select pattern](https://support.pega.com/discussion/how-implement-compare-and-select-pattern-constellation-ui)

Expand Down

0 comments on commit 884fc31

Please sign in to comment.