[SM-402] Truncate dialog headers (#4854)
This commit is contained in:
parent
84d211fb56
commit
8b5a223ad4
|
@ -6,7 +6,7 @@
|
|||
<div
|
||||
class="tw-flex tw-items-center tw-gap-4 tw-border-0 tw-border-b tw-border-solid tw-border-secondary-300 tw-p-4"
|
||||
>
|
||||
<h1 bitDialogTitleContainer class="tw-mb-0 tw-grow tw-text-lg tw-uppercase">
|
||||
<h1 bitDialogTitleContainer class="tw-mb-0 tw-grow tw-truncate tw-text-lg tw-uppercase">
|
||||
<ng-content select="[bitDialogTitle]"></ng-content>
|
||||
</h1>
|
||||
<button
|
||||
|
|
|
@ -82,6 +82,12 @@ Small.args = {
|
|||
title: "Small",
|
||||
};
|
||||
|
||||
export const LongTitle = Template.bind({});
|
||||
LongTitle.args = {
|
||||
dialogSize: "small",
|
||||
title: "Long_Title_That_Should_Be_Truncated",
|
||||
};
|
||||
|
||||
export const Large = Template.bind({});
|
||||
Large.args = {
|
||||
dialogSize: "large",
|
||||
|
|
Loading…
Reference in New Issue