Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Updates to the text

Parimal Satyal873ec7aa7672
diff --git a/frontend/src/stories/ActionBar.stories.mdx b/frontend/src/stories/ActionBar.stories.mdx
index fc621c31200..2342263c06a 100644
--- a/frontend/src/stories/ActionBar.stories.mdx
+++ b/frontend/src/stories/ActionBar.stories.mdx
@@ -38,6 +38,8 @@ The action bar is generally used at the bottom of modals to present the user wit
The most common choices are "Save/apply" and "Cancel".  At least one button (Cancel) is the absolute minimum.
+Above, you see an action bar embedded inside a modal dialogue.
+
## Composition
The action bar is composed of:
@@ -67,45 +69,48 @@ There are however alternative variants:
**Left buttons**
+The button set can be moved to the left, placing the side action on the right. This should be used sparingly and only if absolutely necessary.
+
<Canvas>
<Story name="Left Buttons">
{{ component: SbActionBarLeftButtonsExample }}
</Story>
</Canvas>
-The button set can be moved to the left, placing the side action on the right. This should be used sparingly and only if absolutely necessary.
**Transparent background**
+The transparent background is useful for when having the action bar in grey (default) does not work visually. The transparent version will simply take the background colour of the element in which it is contained, usually white.
+
<Canvas>
<Story name="Transparent">
{{ component: SbActionBarTransparentExample }}
</Story>
</Canvas>
-The transparent background is useful for when having the action bar in grey (default) does not work visually. The transparent version will simply take the background colour of the element in which it is contained, usually white.
## Options
**Side options**
+The side option is, as the name suggests, optional. An action bar can simply be empty on one side, like so:
+
<Canvas>
<Story name="No side option">
{{ component: SbActionBarNoSideOptionExample }}
</Story>
</Canvas>
-The side option is, as the name suggests, optional.
-
**More buttons**
+The action bar can also be composed of up to three action buttons. Should there be more than three actions to be made available to the user, the third button will be a “More” button opens a drop-down with additional options.
+
<Canvas>
<Story name="More buttons">
{{ component: SbActionBarMoreButtonsExample }}
</Story>
</Canvas>
-The action bar can also be composed of up to three action buttons. Should there be more than three actions to be made available to the user, the third button will be a “More” button opens a drop-down with additional options.
## Behaviour