Skip to content

Commit

Permalink
chore: Improve word wrapping of common projects
Browse files Browse the repository at this point in the history
In addition, add a path to the diagram cache stories.
  • Loading branch information
MoritzWeber0 committed Dec 2, 2024
1 parent f4b33e5 commit c91454b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
import { Meta, StoryObj } from '@storybook/angular';
import { mockMetadata } from 'src/storybook/metadata';
import { mockModel } from 'src/storybook/model';
import { mockProject } from 'src/storybook/project';
import { ModelDiagramCodeBlockComponent } from './model-diagram-code-block.component';
Expand All @@ -20,6 +21,7 @@ export const CodeBlock: Story = {
model: mockModel,
project: mockProject,
expanded: true,
metadata: mockMetadata,
},
};

Expand All @@ -29,6 +31,7 @@ export const CodeBlockWithToken: Story = {
project: mockProject,
expanded: true,
passwordValue: 'verysecretpassword',
metadata: mockMetadata,
},
};

Expand All @@ -38,5 +41,6 @@ export const CodeBlockWithJobID: Story = {
project: mockProject,
expanded: true,
jobId: '1234',
metadata: mockMetadata,
},
};
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h2 class="text-xl font-medium">Common Projects</h2>
[routerLink]="['/project', project.slug]"
>
<div>
<b class="line-clamp-1">{{ project.name }}</b
<b class="line-clamp-1 break-all">{{ project.name }}</b
><br />
@if (project.description) {
<span class="line-clamp-3 md:line-clamp-5">{{
Expand Down

0 comments on commit c91454b

Please sign in to comment.