Skip to content

Commit 64a835e

Browse files
fix(sticky-header): styling thead table (#742)
* fix: table thead * fix: remove left
1 parent c32d00e commit 64a835e

13 files changed

+72
-2
lines changed

e2e/stories/table/table.stories.ts

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,50 @@ export const Base: MarkdownSnippetStory = {
4242
| Text | Text |
4343
| Text | Text |
4444
| Text | Text |
45+
46+
{ sticky-header }
47+
`,
48+
},
49+
};
50+
51+
export const WithoutSticky: MarkdownSnippetStory = {
52+
name: 'Base',
53+
args: {
54+
snippet: dedent`
55+
| head1 | head2 |
56+
| ----------- | ----------- |
57+
| Text | Text |
58+
| Text | Text |
59+
| Text | Text |
60+
| Text | Text |
61+
| Text | Text |
62+
| Text | Text |
63+
| Text | Text |
64+
| Text | Text |
65+
| Text | Text |
66+
| Text | Text |
67+
| Text | Text |
68+
| Text | Text |
69+
| Text | Text |
70+
| Text | Text |
71+
| Text | Text |
72+
| Text | Text |
73+
| Text | Text |
74+
| Text | Text |
75+
| Text | Text |
76+
| Text | Text |
77+
| Text | Text |
78+
| Text | Text |
79+
| Text | Text |
80+
| Text | Text |
81+
| Text | Text |
82+
| Text | Text |
83+
| Text | Text |
84+
| Text | Text |
85+
| Text | Text |
86+
| Text | Text |
87+
| Text | Text |
88+
| Text | Text |
4589
`,
4690
},
4791
};

0 commit comments

Comments
 (0)