Skip to content

Commit cb5bff0

Browse files
authored
Merge pull request #571 from raheeliftikhar5/table-status-column-style
Table status type column's text colour not working
2 parents c0896af + a41adbe commit cb5bff0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

client/packages/lowcoder/src/comps/comps/tableComp/tableCompView.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,9 +333,9 @@ const TableTd = styled.td<{
333333
`};
334334
`};
335335
336-
&,
337-
> .ant-badge > .ant-badge-status-text,
338-
> div > .markdown-body {
336+
337+
> div > .ant-badge > .ant-badge-status-text,
338+
> div > div > .markdown-body {
339339
color: ${(props) => props.$style.text};
340340
}
341341

client/packages/lowcoder/src/comps/comps/tableComp/tableTypes.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ const tableChildrenMap = {
183183
style: styleControl(TableStyle),
184184
rowStyle: styleControl(TableRowStyle),
185185
searchText: StringControl,
186-
columnsStyle: withDefault(styleControl(TableColumnStyle), {radius: '0px'}),
186+
columnsStyle: withDefault(styleControl(TableColumnStyle), {borderWidth: '1px', radius: '0px'}),
187187
viewModeResizable: BoolControl,
188188
// sample data for regenerating columns
189189
dataRowExample: stateComp<JSONObject | null>(null),

0 commit comments

Comments
 (0)