diff --git a/IPython/html/static/style/ipython.min.css b/IPython/html/static/style/ipython.min.css
index e36b37d..af4b463 100644
--- a/IPython/html/static/style/ipython.min.css
+++ b/IPython/html/static/style/ipython.min.css
@@ -1521,6 +1521,7 @@ div.cell.text_cell.rendered {
box-flex: 0;
/* Modern browsers */
flex: none;
+ margin: 5px;
}
.widget-hbox input[type="checkbox"] {
margin-top: 9px;
diff --git a/IPython/html/static/style/style.min.css b/IPython/html/static/style/style.min.css
index e80c298..ce88e93 100644
--- a/IPython/html/static/style/style.min.css
+++ b/IPython/html/static/style/style.min.css
@@ -9293,6 +9293,7 @@ div.cell.text_cell.rendered {
box-flex: 0;
/* Modern browsers */
flex: none;
+ margin: 5px;
}
.widget-hbox input[type="checkbox"] {
margin-top: 9px;