Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,32 @@ export const withShellInside = (): string =>
<calcite-button slot="footer-end"> Save </calcite-button>
</calcite-dialog>`;

export const withWrappingHeaderText = (): string =>
html`<calcite-dialog
style="--calcite-dialog-max-size-x: 100px"
scale="s"
Copy link
Copy Markdown
Member

@jcfranco jcfranco Oct 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you could drop scale, open and description without compromising coverage to simplify the test.

open
heading="Thisisthesongthatneverends...itkeeps goingonnd on my friends...."
description="Heyyy"
>
Dialog Content
</calcite-dialog>`;

withWrappingHeaderText.parameters = {
chromatic: {
delay: 1000,
modes: {
specific: {
viewport: {
width: 1200,
height: 1200,
},
},
},
cropToViewport: true,
},
};

export const themed = (): string =>
html`<calcite-dialog
style="${themedStyle}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ slot[name="alerts"]::slotted(calcite-alert) {

.heading-text-content {
flex: 1 1 auto;
overflow: hidden;
}

.heading,
Expand Down
Loading