Skip to content

Commit

Permalink
feat(styles): add word break to step title EBS-1217 (#210)
Browse files Browse the repository at this point in the history
Co-authored-by: Mihkel.Paloots <[email protected]>
  • Loading branch information
MihkelPaloots and Mihkel.Paloots authored Nov 15, 2023
1 parent 258d11b commit 4639601
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions libs/styles/src/lib/scss/components/_steps.scss
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@
}

#{$base}__list-item-title {
word-break: break-word;
@include cvi-breakpoint-down(sm) {
color: get-color(sapphire-blue-10);
font-weight: get-font-weight(gamma);
Expand Down
2 changes: 1 addition & 1 deletion libs/ui/src/lib/steps/steps/steps.component.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const Template: Story<StepsComponent> = (args: StepsComponent) => {
</cvi-ng-step-panel>
</cvi-ng-step>
<cvi-ng-step dataAttribute="step_3">
<cvi-ng-step-panel title="Third">
<cvi-ng-step-panel title="VeryVeryVeryLongWordThatNeedsToBreakInOrderToFit">
{{ stepsContent[2] }}
</cvi-ng-step-panel>
</cvi-ng-step>
Expand Down

0 comments on commit 4639601

Please sign in to comment.