diff --git a/IPython/html/static/base/less/flexbox.less b/IPython/html/static/base/less/flexbox.less
index 60874fc..1975676 100644
--- a/IPython/html/static/base/less/flexbox.less
+++ b/IPython/html/static/base/less/flexbox.less
@@ -35,7 +35,7 @@ Browsers not listed, including Safari, are supported via the styling under the
/* Modern browsers */
display: flex;
flex-direction: row;
- align-items: stretch;
+ align-items: flex-start;
}
.hbox > * {
@@ -67,7 +67,7 @@ Browsers not listed, including Safari, are supported via the styling under the
/* Modern browsers */
display: flex;
flex-direction: column;
- align-items: stretch;
+ align-items: flex-start;
}
.vbox > * {