fix: fix sticky header column width with empty data #1948
main.yml
on: pull_request
test
/
react component workflow
1m 56s
Annotations
2 errors
|
test / react component workflow
Process completed with exit code 1.
|
|
tests/FixedColumn.spec.tsx > Table.FixedColumn > renders correctly > scrollXY - without data:
tests/FixedColumn.spec.tsx#L99
Error: Snapshot `Table.FixedColumn > renders correctly > scrollXY - without data 1` mismatched
- Expected
+ Received
@@ -12,47 +12,26 @@
<table
style="table-layout: fixed;"
>
<colgroup>
<col
- style="width: 93px;"
- />
- <col
- style="width: 1000px;"
+ style="width: 100px;"
/>
<col
- style="width: 1000px;"
+ style="width: 100px;"
/>
- <col
- style="width: 1000px;"
- />
- <col
- style="width: 1000px;"
- />
- <col
- style="width: 1000px;"
- />
- <col
- style="width: 1000px;"
- />
- <col
- style="width: 1000px;"
- />
- <col
- style="width: 1000px;"
- />
- <col
- style="width: 1000px;"
- />
- <col
- style="width: 1000px;"
- />
- <col
- style="width: 1000px;"
- />
+ <col />
+ <col />
+ <col />
+ <col />
+ <col />
+ <col />
+ <col />
+ <col />
+ <col />
<col
- style="width: 15px;"
+ style="width: 100px;"
/>
</colgroup>
<thead
class="rc-table-thead"
>
❯ tests/FixedColumn.spec.tsx:99:36
|