diff --git a/stories/assets/styles/global/global.scss b/stories/assets/styles/global/global.scss index 1e45a889..be5f6eff 100644 --- a/stories/assets/styles/global/global.scss +++ b/stories/assets/styles/global/global.scss @@ -142,6 +142,13 @@ h6 { } } +.bix-title-prefix-label { + @extend .bix-title-prefix; + border-left: none; + border-right: none; + padding: 0px; +} + dl { line-height: 1.75; margin-top: units(2); diff --git a/stories/components/section/section.html.twig b/stories/components/section/section.html.twig index e429d760..e74cd750 100644 --- a/stories/components/section/section.html.twig +++ b/stories/components/section/section.html.twig @@ -4,6 +4,9 @@ * * Available variables: * - prefix: Optional string. Contains title prefix with borders on the side. + * - prefix_below: Opt boolean. If true, the prefix will show under the title. + * - prefix_label: Optional string. Adds a label to prefix seperated by a | + and removes the borders from the sides. * - heading_type: String heading type for title. * - title: String title of section. * - description: String body text, can include paragraphs. @@ -33,12 +36,18 @@ #}