Skip to content

Commit 936d95a

Browse files
Merge pull request #947 from MenamAfzal/fix/input-width
Fix/input width
2 parents f55e943 + 828984d commit 936d95a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

client/packages/lowcoder-design/src/components/control.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export const ControlPropertyViewWrapper = (
164164
</LabelWrapper>
165165
)}
166166
{preInputNode}
167-
<ChildrenWrapper style={childrenWrapperStyle} $layout={layout}>
167+
<ChildrenWrapper style={{...childrenWrapperStyle,marginLeft:label==='Margin'||label==='Padding'?'6px':'0px'}} $layout={layout}> //margin and padding are calculated differently so they're made equal
168168
{children}
169169
{extraChildren}
170170
</ChildrenWrapper>

client/packages/lowcoder/src/comps/comps/qrCodeComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const childrenMap = {
3131
level: dropdownControl(levelOptions, 'L'),
3232
includeMargin: BoolControl.DEFAULT_TRUE,
3333
image: StringControl,
34-
style: styleControl(QRCodeStyle),
34+
style: withDefault(styleControl(QRCodeStyle),{background:'transparent'}),
3535
animationStyle: styleControl(AnimationStyle),
3636
restrictPaddingOnRotation: withDefault(StringControl, 'qrCode'),
3737
};

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const DepIcon = styled(IconDep)`
2727
const ColorInput = styled.div`
2828
//position: absolute;
2929
outline: none;
30-
width: 140px;
30+
width: 135px;
3131
min-height: 30px;
3232
`;
3333

0 commit comments

Comments
 (0)