mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
Fixed pre-display "pixel-like" widget attribute parsing
This commit is contained in:
parent
8d3f5b2865
commit
8e54937893
@ -542,11 +542,11 @@ define(["widgets/js/manager",
|
||||
this.update_attr('border-style', this.model.get('border_style'));
|
||||
this.update_attr('font-style', this.model.get('font_style'));
|
||||
this.update_attr('font-weight', this.model.get('font_weight'));
|
||||
this.update_attr('font-size', this.model.get('font_size'));
|
||||
this.update_attr('font-size', this._default_px(this.model.get('font_size')));
|
||||
this.update_attr('font-family', this.model.get('font_family'));
|
||||
this.update_attr('padding', this.model.get('padding'));
|
||||
this.update_attr('margin', this.model.get('margin'));
|
||||
this.update_attr('border-radius', this.model.get('border_radius'));
|
||||
this.update_attr('margin', this._default_px(this.model.get('margin')));
|
||||
this.update_attr('border-radius', this._default_px(this.model.get('border_radius')));
|
||||
|
||||
this.update_css(this.model, this.model.get("_css"));
|
||||
}, this);
|
||||
|
Loading…
Reference in New Issue
Block a user