Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0bc663b

Browse files
committed
lineHeight icon added in right panel
1 parentc5640ad commit0bc663b

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=<RotationIconstyle={{width:"16px",margin:"5px 0 0 5px",padding:"0px"}}/>;
376377
break;
377378
}
379+
case'lineHeight':{
380+
icon=<LineHeightIconstyle={{width:"16px",margin:"5px 0 0 5px",padding:"0px"}}/>;
381+
break;
382+
}
378383
}
379384
returnicon;
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
importstyledfrom"styled-components";
@@ -759,7 +760,7 @@ const StyleContent = styled.div`
759760
border-radius: 0 0 6px 6px;
760761
}
761762
`;
762-
constLineHeightPropIcon=styled(ExpandIcon)`
763+
constLineHeightPropIcon=styled(LineHeightIcon)`
763764
margin: 0 8px 0 -3px;
764765
padding: 3px;
765766
color: #888;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp