Skip to content

Commit a770a42

Browse files
authored
Merge pull request #303 from aaron1604/fix-timeline-css
fix: minor css fix for background height
2 parents 1252ad2 + 7323c3e commit a770a42

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,15 @@ const TimelineComp = (
9191
return (
9292
<div
9393
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'),
9898
background: style.background,
9999
overflow: "auto",
100100
overflowX: "hidden",
101101
borderRadius: style.radius,
102+
//height: '100%'
102103
}}
103104
>
104105
<Timeline

0 commit comments

Comments
 (0)