File tree Expand file tree Collapse file tree 14 files changed +8424
-11334
lines changed
lowcoder-sdk-webpack-bundle
api-service/lowcoder-server/src/main/resources Expand file tree Collapse file tree 14 files changed +8424
-11334
lines changed Original file line number Diff line number Diff line change 1- 2.7.4
1+ 2.7.5
Original file line number Diff line number Diff line change 11{
22 "name" : " lowcoder-frontend" ,
3- "version" : " 2.7.4 " ,
3+ "version" : " 2.7.5 " ,
44 "type" : " module" ,
55 "private" : true ,
66 "workspaces" : [
Original file line number Diff line number Diff line change 11{
22 "name" : " lowcoder-comps" ,
3- "version" : " 2.7.4 " ,
3+ "version" : " 2.7.5 " ,
44 "type" : " module" ,
55 "license" : " MIT" ,
66 "dependencies" : {
Original file line number Diff line number Diff line change 11{
22 "name" : " lowcoder-sdk-webpack-bundle" ,
33 "description" : " " ,
4- "version" : " 2.7.3 " ,
4+ "version" : " 2.7.5 " ,
55 "main" : " index.jsx" ,
66 "scripts" : {
77 "test" : " echo \" Error: no test specified\" && exit 1" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " lowcoder-sdk" ,
3- "version" : " 2.7.3 " ,
3+ "version" : " 2.7.5 " ,
44 "type" : " module" ,
55 "files" : [
66 " src" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " lowcoder" ,
3- "version" : " 2.7.4 " ,
3+ "version" : " 2.7.5 " ,
44 "private" : true ,
55 "type" : " module" ,
66 "main" : " src/index.sdk.ts" ,
Original file line number Diff line number Diff line change @@ -63,6 +63,16 @@ const CardImage = styled.img`
6363 border-radius: 4px;
6464` ;
6565
66+ const StyledParagraph = styled ( Paragraph ) `
67+ img {
68+ max-width: 100%; /* or whatever you want */
69+ height: auto; /* keep aspect ratio */
70+ object-fit: contain; /* prevent distortion */
71+ display: block; /* optional: avoid inline weirdness */
72+ margin: 8px 0; /* optional spacing */
73+ }
74+ ` ;
75+
6676const cardGridStyle = { padding : "8px" } ;
6777
6878type NewsEntry = any ; // replace with actual types if available
@@ -139,7 +149,7 @@ export function NewsLayout() {
139149 hoverable
140150 cover = {
141151 < a href = { url } target = "_blank" rel = "noreferrer" >
142- < CardImage src = { coverImage } alt = { htmlTitle } />
152+ < CardImage src = { coverImage } alt = { htmlTitle } style = { { minHeight : "500px" } } />
143153 </ a >
144154 }
145155 >
@@ -223,9 +233,9 @@ export function NewsLayout() {
223233 extra = { < a href = { c . html_url } target = "_blank" rel = "noreferrer" > View</ a > }
224234 >
225235 < Paragraph type = "secondary" > { new Date ( c . published_at ) . toLocaleDateString ( ) } </ Paragraph >
226- < Paragraph ellipsis = { { rows : 5 } } >
236+ < StyledParagraph ellipsis = { { rows : 10 } } >
227237 < span dangerouslySetInnerHTML = { { __html : c . body . replace ( / \r \n / g, "<br />" ) } } />
228- </ Paragraph >
238+ </ StyledParagraph >
229239 </ Card >
230240 </ Col >
231241 ) ;
@@ -234,8 +244,6 @@ export function NewsLayout() {
234244
235245 < Divider />
236246
237-
238-
239247 </ Card >
240248
241249 </ NewsView >
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ type: application
77version : 2.7.0
88
99# Lowcoder version
10- appVersion : " 2.7.3 "
10+ appVersion : " 2.7.5 "
1111
1212# Dependencies needed for Lowcoder deployment
1313dependencies :
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ common:
6565 domain :
6666 default-value : lowcoder.org
6767 cloud : false
68- version : 2.7.3
68+ version : 2.7.5
6969 apiVersion : 1.2
7070 block-hound-enable : false
7171 encrypt :
Original file line number Diff line number Diff line change 11{
22 "name" : " lowcoder-node-server" ,
3- "version" : " 2.7.4 " ,
3+ "version" : " 2.7.5 " ,
44 "private" : true ,
55 "engines" : {
66 "node" : " ^14.18.0 || >=16.0.0"
You can’t perform that action at this time.
0 commit comments