Skip to content

Commit 0bc663b

Browse files
committed
lineHeight icon added in right panel
1 parent c5640ad commit 0bc663b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

client/packages/lowcoder/src/components/ThemeSettingsCompStyles.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import {
2525
TextStyleIcon,
2626
ImageCompIconSmall,
2727
RotationIcon,
28+
LineHeightIcon
2829
} from "lowcoder-design/src/icons";
2930
import { trans } from "i18n";
3031
import { debounce } from "lodash";
@@ -375,6 +376,10 @@ export default function ThemeSettingsCompStyles(props: CompStyleProps) {
375376
icon = <RotationIcon style={{width: "16px", margin: "5px 0 0 5px", padding: "0px"}}/>;
376377
break;
377378
}
379+
case 'lineHeight': {
380+
icon = <LineHeightIcon style={{width: "16px", margin: "5px 0 0 5px", padding: "0px"}}/>;
381+
break;
382+
}
378383
}
379384
return icon;
380385
}

client/packages/lowcoder/src/comps/controls/styleControl.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import {
2929
RefreshLineIcon,
3030
ShadowIcon,
3131
OpacityIcon,
32+
LineHeightIcon
3233
} from 'lowcoder-design';
3334
import { useContext } from "react";
3435
import styled from "styled-components";
@@ -759,7 +760,7 @@ const StyleContent = styled.div`
759760
border-radius: 0 0 6px 6px;
760761
}
761762
`;
762-
const LineHeightPropIcon = styled(ExpandIcon)`
763+
const LineHeightPropIcon = styled(LineHeightIcon)`
763764
margin: 0 8px 0 -3px;
764765
padding: 3px;
765766
color: #888;

0 commit comments

Comments
 (0)