##// END OF EJS Templates
Pad interact widgets.
Jonathan Frederic -
Show More
@@ -1,6 +1,13 b''
1 @widget-width: 350px;
1 @widget-width: 350px;
2 @widget-width-short: 150px;
2 @widget-width-short: 150px;
3
3
4 // Pad interact widgets by default.
5 .widget-interact {
6 div, input {
7 padding: 2.5px;
8 }
9 }
10
4 .widget-area {
11 .widget-area {
5 /*
12 /*
6 LESS file that styles IPython notebook widgets and the area they sit in.
13 LESS file that styles IPython notebook widgets and the area they sit in.
@@ -181,7 +181,7 b' def interactive(__interact_f, **kwargs):'
181 co = kwargs.pop('clear_output', True)
181 co = kwargs.pop('clear_output', True)
182 manual = kwargs.pop('__manual', False)
182 manual = kwargs.pop('__manual', False)
183 kwargs_widgets = []
183 kwargs_widgets = []
184 container = Box()
184 container = Box(_dom_classes=['widget-interact'])
185 container.result = None
185 container.result = None
186 container.args = []
186 container.args = []
187 container.kwargs = dict()
187 container.kwargs = dict()
General Comments 0
You need to be logged in to leave comments. Login now