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

Commitcac08a4

Browse files
committed
File upload component styling and controls added
1 parent7b6dda6 commitcac08a4

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

‎client/packages/lowcoder/src/comps/comps/fileComp/fileComp.tsx‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@ const getStyle = (style: FileStyleType) => {
141141
padding:${style.padding};
142142
width:${widthCalculator(style.margin)};
143143
height:${heightCalculator(style.margin)};
144+
font-family:${style.fontFamily};
145+
font-size:${style.textSize};
146+
font-weight:${style.textWeight};
147+
font-style:${style.fontStyle};
148+
border-width:${style.borderWidth};
144149
}
145150
146151
.ant-btn:not(:disabled) {

‎client/packages/lowcoder/src/comps/controls/styleControlConstants.tsx‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,12 @@ export const TableColumnLinkStyle = [
10161016
...LinkTextStyle,
10171017
]asconst;
10181018

1019-
exportconstFileStyle=[...getStaticBgBorderRadiusByBg(SURFACE_COLOR),TEXT,ACCENT,MARGIN,PADDING]asconst;
1019+
exportconstFileStyle=[
1020+
// ...getStaticBgBorderRadiusByBg(SURFACE_COLOR),
1021+
getStaticBackground(SURFACE_COLOR),
1022+
...replaceAndMergeMultipleStyles(STYLING_FIELDS_SEQUENCE,'border',[getStaticBorder('#00000000')]),
1023+
// TEXT, ACCENT, MARGIN, PADDING
1024+
]asconst;
10201025

10211026
exportconstFileViewerStyle=[
10221027
getStaticBackground("#FFFFFF"),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp