mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-30 12:11:32 +08:00
Use double resolution logo to support hires displays
This commit is contained in:
parent
cad0c32137
commit
7cc07251e4
@ -85,7 +85,7 @@ define([
|
||||
this.events.on('spec_changed.Kernel', function(event, data) {
|
||||
that.current_selection = data.name;
|
||||
that.element.find("#current_kernel_spec").find('.kernel_name').text(data.display_name);
|
||||
that.element.find("#current_kernel_logo").attr("src", "/kernelspecs/"+data.name+"/logo-32.png");
|
||||
that.element.find("#current_kernel_logo").attr("src", "/kernelspecs/"+data.name+"/logo-64.png");
|
||||
});
|
||||
|
||||
this.events.on('kernel_created.Session', function(event, data) {
|
||||
|
@ -9,4 +9,9 @@
|
||||
margin-top:0px;
|
||||
}
|
||||
}
|
||||
|
||||
& > img#current_kernel_logo {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
}
|
||||
}
|
||||
|
4
IPython/html/static/style/style.min.css
vendored
4
IPython/html/static/style/style.min.css
vendored
@ -9680,6 +9680,10 @@ fieldset[disabled] #kernel_selector_widget > button.active {
|
||||
#kernel_selector_widget > button > span.caret {
|
||||
margin-top: 0px;
|
||||
}
|
||||
#kernel_selector_widget > img#current_kernel_logo {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
}
|
||||
#menubar {
|
||||
margin-top: 0px;
|
||||
box-sizing: border-box;
|
||||
|
Loading…
Reference in New Issue
Block a user