mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
Added a class for RadioButtons container
with appropriate top padding...
This commit is contained in:
parent
033ea6d88c
commit
3b8beec541
@ -126,8 +126,7 @@ define(["notebook/js/widgets/widget"], function(WidgetManager){
|
|||||||
.hide();
|
.hide();
|
||||||
this.$container = $('<div />')
|
this.$container = $('<div />')
|
||||||
.appendTo(this.$el)
|
.appendTo(this.$el)
|
||||||
.addClass('widget-container')
|
.addClass('widget-radio-box');
|
||||||
.addClass('vbox');
|
|
||||||
this.$el_to_style = this.$container; // Set default element to style
|
this.$el_to_style = this.$container; // Set default element to style
|
||||||
this.update();
|
this.update();
|
||||||
},
|
},
|
||||||
|
@ -178,6 +178,7 @@
|
|||||||
.widget-numeric-text {
|
.widget-numeric-text {
|
||||||
/* Single Line Textbox - used for IntTextView and FloatTextView */
|
/* Single Line Textbox - used for IntTextView and FloatTextView */
|
||||||
width : 150px;
|
width : 150px;
|
||||||
|
margin : 0px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.widget-progress {
|
.widget-progress {
|
||||||
@ -261,6 +262,14 @@
|
|||||||
.align-start();
|
.align-start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.widget-radio-box {
|
||||||
|
/* Contains RadioButtonsWidget */
|
||||||
|
.vbox();
|
||||||
|
.border-box-sizing();
|
||||||
|
|
||||||
|
padding-top: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
.docked-widget-modal {
|
.docked-widget-modal {
|
||||||
/* Horizontal Label */
|
/* Horizontal Label */
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
Loading…
Reference in New Issue
Block a user