[toolbar logo] [fix]
This commit is contained in:
parent
1fe3bc575b
commit
2c376a4968
@ -16,7 +16,7 @@ wn.modules_path = 'erpnext';
|
|||||||
// add toolbar icon
|
// add toolbar icon
|
||||||
$(document).bind('toolbar_setup', function() {
|
$(document).bind('toolbar_setup', function() {
|
||||||
$('.navbar-brand').html(wn.boot.website_settings.brand_html ||
|
$('.navbar-brand').html(wn.boot.website_settings.brand_html ||
|
||||||
('<img src="app/images/splash.svg" class="toolbar-splash">erpnext'))
|
('<object data="app/images/splash.svg" class="toolbar-splash" type="image/svg+xml"></object>erpnext'))
|
||||||
.css('max-width', '200px').css('overflow', 'hidden')
|
.css('max-width', '200px').css('overflow', 'hidden')
|
||||||
.hover(function() {
|
.hover(function() {
|
||||||
$(this).find('.icon-home').addClass('navbar-icon-home-hover');
|
$(this).find('.icon-home').addClass('navbar-icon-home-hover');
|
||||||
|
@ -65,5 +65,5 @@ span, div, td, input, textarea, button, select {
|
|||||||
.toolbar-splash {
|
.toolbar-splash {
|
||||||
width: 32px;
|
width: 32px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
margin: -8px auto;
|
margin: -10px auto;
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user