[toolbar logo] [fix]

This commit is contained in:
Anand Doshi 2013-06-06 19:10:52 +05:30
parent 1fe3bc575b
commit 2c376a4968
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ wn.modules_path = 'erpnext';
// add toolbar icon
$(document).bind('toolbar_setup', function() {
$('.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')
.hover(function() {
$(this).find('.icon-home').addClass('navbar-icon-home-hover');

View File

@ -65,5 +65,5 @@ span, div, td, input, textarea, button, select {
.toolbar-splash {
width: 32px;
height: 32px;
margin: -8px auto;
margin: -10px auto;
}