Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6915aa3

Browse files
sarikesunlei
authored andcommitted
fix: table expand icon style
(cherry picked from commit 2ae2569e272ba8d995a83f7daf46011837d961c4)
1 parent e7e748b commit 6915aa3

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import {
1919
} from "comps/controls/styleControlConstants";
2020
import { CompNameContext, EditorContext } from "comps/editorState";
2121
import { BackgroundColorContext } from "comps/utils/backgroundColorContext";
22+
import { PrimaryColor } from "constants/style";
2223
import { trans } from "i18n";
2324
import _ from "lodash";
2425
import { darkenColor, isDarkColor } from "openblocks-design";
@@ -164,6 +165,10 @@ const TableWrapper = styled.div<{
164165
border-color: inherit;
165166
}
166167
168+
.ant-table-row-expand-icon {
169+
color: ${PrimaryColor};
170+
}
171+
167172
.ant-table .ant-table-cell-with-append .ant-table-row-expand-icon {
168173
margin: 0;
169174
top: 18px;

client/packages/openblocks/src/i18n/locales/en.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@ export const en = {
11681168
position: "Position",
11691169
showDataLoadSpinner: "Show spinner during data loading",
11701170
showValue: "Show Value",
1171-
expandable: "expandable",
1171+
expandable: "Expandable",
11721172
},
11731173
image: {
11741174
src: "Image source",
@@ -2343,6 +2343,6 @@ export const en = {
23432343
manualTip: "",
23442344
},
23452345
slotControl: {
2346-
configSlotView: "config slot view",
2346+
configSlotView: "Config slot view",
23472347
},
23482348
};

0 commit comments

Comments
 (0)