1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-12 14:34:02 +00:00

remove title truncate

This commit is contained in:
jaasen-livefront
2025-10-24 12:14:02 -07:00
parent e7e264fcd3
commit 988e732bcc
2 changed files with 2 additions and 19 deletions

View File

@@ -34,12 +34,12 @@ let nextId = 0;
@Component({
selector: "bit-callout",
templateUrl: "callout.component.html",
imports: [A11yTitleDirective, SharedModule, TypographyModule],
imports: [SharedModule, TypographyModule],
})
export class CalloutComponent {
readonly type = input<CalloutTypes>("info");
readonly icon = input<string>();
readonly title = input<string>();
readonly title = input<string | null>();
readonly truncate = input(false);
readonly useAlertRole = input(false);
readonly iconComputed = computed(() =>

View File

@@ -173,20 +173,3 @@ export const TruncateOnlyContent: Story = {
truncate: true,
},
};
export const TruncateOnlyTitle: Story = {
render: (args) => ({
props: args,
template: `
<div style="width: 300px;">
<bit-callout ${formatArgsForCodeSnippet<CalloutComponent>(args)}>
</bit-callout>
</div>
`,
}),
args: {
title:
"This is a really long title that should truncate. Like really, really, really, ridiculously long title",
truncate: true,
},
};