File tree 3 files changed +24
-7
lines changed
client/packages/lowcoder/src
3 files changed +24
-7
lines changed Original file line number Diff line number Diff line change @@ -91,14 +91,15 @@ const TimelineComp = (
91
91
return (
92
92
< div
93
93
style = { {
94
- margin : style . margin ,
95
- padding : style . padding ,
96
- width : widthCalculator ( style . margin ) ,
97
- height : heightCalculator ( style . margin ) ,
94
+ margin : style . margin ?? '3px' ,
95
+ padding : style . padding ?? '3px' ,
96
+ width : widthCalculator ( style . margin ?? '3px' ) ,
97
+ height : heightCalculator ( style . margin ?? '3px' ) ,
98
98
background : style . background ,
99
99
overflow : "auto" ,
100
100
overflowX : "hidden" ,
101
101
borderRadius : style . radius ,
102
+ //height: '100%'
102
103
} }
103
104
>
104
105
< Timeline
Original file line number Diff line number Diff line change @@ -57,6 +57,18 @@ export const COLOR_PALETTE = [
57
57
"#2693FF" ,
58
58
"#4965F2" ,
59
59
"#3377FF" ,
60
+ "#ff4d4f" ,
61
+ "#d4380d" ,
62
+ "#873800" ,
63
+ "#ffc53d" ,
64
+ "#d4b106" ,
65
+ "#3f6600" ,
66
+ "#73d13d" ,
67
+ "#08979c" ,
68
+ "#003a8c" ,
69
+ "#597ef7" ,
70
+ "#531dab" ,
71
+ "#780650" ,
60
72
] as const ;
61
73
62
74
export const PHONE_NUMBER_PATTERN = / ^ 1 \d { 10 } $ / ;
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ CMD [ "sh" , "/lowcoder/api-service/entrypoint.sh" ]
66
66
# #
67
67
FROM ubuntu:jammy as build-node-service
68
68
69
- RUN apt update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y curl ca-certificates
69
+ RUN apt update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y curl ca-certificates build-essential
70
70
71
71
# Download nodejs and install yarn
72
72
RUN curl -sL https://deb.nodesource.com/setup_19.x | bash - \
@@ -174,8 +174,12 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-instal
174
174
&& curl -fsSL https://www.mongodb.org/static/pgp/server-4.4.asc | gpg --dearmor -o /usr/share/keyrings/mongodb-archive-keyring.gpg \
175
175
&& echo "deb [signed-by=/usr/share/keyrings/mongodb-archive-keyring.gpg arch=amd64,arm64] http://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.4.list \
176
176
&& curl -sL https://deb.nodesource.com/setup_19.x | bash - \
177
- && curl -sL http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb --output libssl1.1_1.1.1f-1ubuntu2_amd64.deb \
178
- && dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb \
177
+ && if [ "$(dpkg --print-architecture)" = "amd64" ] || [ "$(dpkg --print-architecture)" = "i386" ]; then \
178
+ curl -sL http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_$(dpkg --print-architecture).deb --output libssl1.1_1.1.1f-1ubuntu2_$(dpkg --print-architecture).deb; \
179
+ else \
180
+ curl -sL http://ports.ubuntu.com/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_$(dpkg --print-architecture).deb --output libssl1.1_1.1.1f-1ubuntu2_$(dpkg --print-architecture).deb; \
181
+ fi \
182
+ && dpkg -i libssl1.1_1.1.1f-1ubuntu2_$(dpkg --print-architecture).deb \
179
183
&& apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends -y \
180
184
mongodb-org \
181
185
redis \
You can’t perform that action at this time.
0 commit comments