Skip to content

Commit bc7f98f

Browse files
authored
Image patches (#204)
1 parent 52c6d84 commit bc7f98f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Lumi/Components2/Image.purs

+2
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ image =
109109
, className: ""
110110
, css: E.css
111111
{ width: E.percent 100.0
112+
, height: E.percent 100.0
112113
, objectFit: E.str "cover"
113114
, display: E.str $ if loaded then "block" else "none"
114115
}
@@ -135,6 +136,7 @@ image =
135136
, display: E.flex
136137
, flexFlow: E.column
137138
, alignItems: E.center
139+
, justifyContent: E.center
138140
, border: E.str "1px solid"
139141
, borderColor: E.color colors.black4
140142
}

0 commit comments

Comments
 (0)