mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +08:00
chore: Adjust table col className priority (#23914)
* adjust col class * update snapshot
This commit is contained in:
parent
2961dda311
commit
701f35d0eb
@ -28,7 +28,7 @@ exports[`Table.rowSelection fix expand on th left when selection column fixed on
|
||||
class="ant-table-expand-icon-col"
|
||||
/>
|
||||
<col
|
||||
class="ant-table-selection-column"
|
||||
class="ant-table-selection-col"
|
||||
/>
|
||||
</colgroup>
|
||||
<thead
|
||||
@ -359,7 +359,7 @@ exports[`Table.rowSelection fix selection column on the left 1`] = `
|
||||
>
|
||||
<colgroup>
|
||||
<col
|
||||
class="ant-table-selection-column"
|
||||
class="ant-table-selection-col"
|
||||
/>
|
||||
</colgroup>
|
||||
<thead
|
||||
@ -643,7 +643,7 @@ exports[`Table.rowSelection fix selection column on the left when any other colu
|
||||
>
|
||||
<colgroup>
|
||||
<col
|
||||
class="ant-table-selection-column"
|
||||
class="ant-table-selection-col"
|
||||
/>
|
||||
</colgroup>
|
||||
<thead
|
||||
@ -958,7 +958,7 @@ exports[`Table.rowSelection should support getPopupContainer 1`] = `
|
||||
>
|
||||
<colgroup>
|
||||
<col
|
||||
class="ant-table-selection-column"
|
||||
class="ant-table-selection-col"
|
||||
/>
|
||||
</colgroup>
|
||||
<thead
|
||||
@ -1285,7 +1285,7 @@ exports[`Table.rowSelection should support getPopupContainer from ConfigProvider
|
||||
>
|
||||
<colgroup>
|
||||
<col
|
||||
class="ant-table-selection-column"
|
||||
class="ant-table-selection-col"
|
||||
/>
|
||||
</colgroup>
|
||||
<thead
|
||||
@ -1612,7 +1612,7 @@ exports[`Table.rowSelection use column as selection column when key is \`selecti
|
||||
>
|
||||
<colgroup>
|
||||
<col
|
||||
class="ant-table-selection-column"
|
||||
class="ant-table-selection-col"
|
||||
/>
|
||||
</colgroup>
|
||||
<thead
|
||||
|
@ -2404,7 +2404,7 @@ exports[`renders ./components/table/demo/dynamic-settings.md correctly 1`] = `
|
||||
class="ant-table-expand-icon-col"
|
||||
/>
|
||||
<col
|
||||
class="ant-table-selection-column"
|
||||
class="ant-table-selection-col"
|
||||
/>
|
||||
</colgroup>
|
||||
<thead
|
||||
@ -4961,7 +4961,7 @@ exports[`renders ./components/table/demo/expand-children.md correctly 1`] = `
|
||||
>
|
||||
<colgroup>
|
||||
<col
|
||||
class="ant-table-selection-column"
|
||||
class="ant-table-selection-col"
|
||||
/>
|
||||
<col />
|
||||
<col
|
||||
@ -11920,7 +11920,7 @@ exports[`renders ./components/table/demo/row-selection.md correctly 1`] = `
|
||||
>
|
||||
<colgroup>
|
||||
<col
|
||||
class="ant-table-selection-column"
|
||||
class="ant-table-selection-col"
|
||||
/>
|
||||
</colgroup>
|
||||
<thead
|
||||
@ -12267,7 +12267,7 @@ exports[`renders ./components/table/demo/row-selection-and-operation.md correctl
|
||||
>
|
||||
<colgroup>
|
||||
<col
|
||||
class="ant-table-selection-column"
|
||||
class="ant-table-selection-col"
|
||||
/>
|
||||
</colgroup>
|
||||
<thead
|
||||
@ -12854,7 +12854,7 @@ exports[`renders ./components/table/demo/row-selection-custom.md correctly 1`] =
|
||||
>
|
||||
<colgroup>
|
||||
<col
|
||||
class="ant-table-selection-column"
|
||||
class="ant-table-selection-col"
|
||||
/>
|
||||
</colgroup>
|
||||
<thead
|
||||
@ -13468,7 +13468,7 @@ exports[`renders ./components/table/demo/row-selection-custom-debug.md correctly
|
||||
>
|
||||
<colgroup>
|
||||
<col
|
||||
class="ant-table-selection-column"
|
||||
class="ant-table-selection-col"
|
||||
/>
|
||||
</colgroup>
|
||||
<thead
|
||||
|
@ -442,7 +442,7 @@ export default function useSelection<RecordType>(
|
||||
title: rowSelection.columnTitle || title,
|
||||
render: renderSelectionCell,
|
||||
[INTERNAL_COL_DEFINE]: {
|
||||
className: `${prefixCls}-selection-column`,
|
||||
className: `${prefixCls}-selection-col`,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -354,17 +354,12 @@
|
||||
}
|
||||
|
||||
// ========================== Selections ==========================
|
||||
colgroup {
|
||||
> col.@{table-prefix-cls}-selection-col {
|
||||
width: @table-selection-column-width;
|
||||
}
|
||||
.@{table-prefix-cls}-selection-col {
|
||||
width: @table-selection-column-width;
|
||||
}
|
||||
|
||||
&-selection-column,
|
||||
table tr th&-selection-column,
|
||||
table tr td&-selection-column {
|
||||
width: @table-selection-column-width;
|
||||
min-width: @table-selection-column-width;
|
||||
text-align: center;
|
||||
|
||||
.@{ant-prefix}-radio-wrapper {
|
||||
|
@ -2245,7 +2245,7 @@ exports[`renders ./components/transfer/demo/table-transfer.md correctly 1`] = `
|
||||
>
|
||||
<colgroup>
|
||||
<col
|
||||
class="ant-table-selection-column"
|
||||
class="ant-table-selection-col"
|
||||
/>
|
||||
</colgroup>
|
||||
<thead
|
||||
@ -2926,7 +2926,7 @@ exports[`renders ./components/transfer/demo/table-transfer.md correctly 1`] = `
|
||||
>
|
||||
<colgroup>
|
||||
<col
|
||||
class="ant-table-selection-column"
|
||||
class="ant-table-selection-col"
|
||||
/>
|
||||
</colgroup>
|
||||
<thead
|
||||
|
Loading…
Reference in New Issue
Block a user