Skip to content

Commit

Permalink
fix: Break words in split panel header (#1437)
Browse files Browse the repository at this point in the history
  • Loading branch information
gethinwebster authored Aug 11, 2023
1 parent e657a92 commit a1046ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pages/app-layout/with-split-panel.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default function () {
splitPanel={
splitPanelEnabled && (
<SplitPanel
header="Split panel header"
header="Split panel header withlongwordthatshouldbesplitinsteadofmakingthepanelscroll"
i18nStrings={{
preferencesTitle: 'Preferences',
preferencesPositionLabel: 'Split panel position',
Expand Down
2 changes: 1 addition & 1 deletion src/split-panel/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ $app-layout-drawer-width: calc(#{awsui.$space-layout-toggle-diameter} + 2 * #{aw
.drawer {
flex-shrink: 0;
position: relative;
word-wrap: break-word;
@include styles.text-wrapping;
background-color: awsui.$color-background-layout-panel-content;
// should be above tools and navigation panels to avoid their shadows
z-index: 840;
Expand Down

0 comments on commit a1046ec

Please sign in to comment.