diff --git a/IPython/html/static/widgets/less/widgets.less b/IPython/html/static/widgets/less/widgets.less
index 42f3853..ffe3dec 100644
--- a/IPython/html/static/widgets/less/widgets.less
+++ b/IPython/html/static/widgets/less/widgets.less
@@ -3,7 +3,7 @@
// Pad interact widgets by default.
.widget-interact {
- div, input {
+ >div, >input {
padding: 2.5px;
}
}