Skip to content

Commit

Permalink
fix(@clayui/css): Sidebar long text with no white space should break …
Browse files Browse the repository at this point in the history
…to new line in component-title and subtitle
  • Loading branch information
pat270 committed May 6, 2022
1 parent 61a1e35 commit 795684e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/clay-css/src/scss/variables/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ $sidebar-header-component-title: map-deep-merge(
(
font-size: 1.5rem,
font-weight: $font-weight-semi-bold,
overflow-wrap: break-word,
href: (
color: $gray-900,
),
Expand All @@ -25,6 +26,7 @@ $sidebar-header-component-subtitle: map-deep-merge(
font-size: 1.125rem,
font-weight: $font-weight-semi-bold,
margin-bottom: 0,
overflow-wrap: break-word,
),
$sidebar-header-component-subtitle
);
Expand Down

0 comments on commit 795684e

Please sign in to comment.