Skip to content

Commit d312057

Browse files
authored
Merge pull request #486 from vrtdev/bugfix/485-image-height
Images consume the screen height if the source is larger than needed
2 parents 319b0df + f6069e5 commit d312057

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/src/replaced_element.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ class ImageContentElement extends ReplacedElement {
155155
return new Image.network(
156156
src,
157157
width: snapshot.data.width,
158-
height: snapshot.data.height,
159158
frameBuilder: (ctx, child, frame, _) {
160159
if (frame == null) {
161160
return Text(alt ?? "", style: context.style.generateTextStyle());

0 commit comments

Comments
 (0)