mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-01-17 13:28:35 +01:00
Fix line breaking for tab badges (#332)
This commit is contained in:
parent
b4e4b40a4b
commit
f8f52221f9
@ -170,6 +170,9 @@ a.phpdebugbar-tab.phpdebugbar-active {
|
||||
display: none;
|
||||
vertical-align: middle;
|
||||
}
|
||||
a.phpdebugbar-tab span.phpdebugbar-badge.phpdebugbar-visible {
|
||||
display: inline;
|
||||
}
|
||||
a.phpdebugbar-tab span.phpdebugbar-badge.phpdebugbar-important {
|
||||
background: #ed6868;
|
||||
color: white;
|
||||
|
@ -272,9 +272,9 @@ if (typeof(PhpDebugBar) == 'undefined') {
|
||||
this.bindAttr('badge', function(value) {
|
||||
if (value !== null) {
|
||||
this.$badge.text(value);
|
||||
this.$badge.show();
|
||||
this.$badge.addClass(csscls('visible'));
|
||||
} else {
|
||||
this.$badge.hide();
|
||||
this.$badge.removeClass(csscls('visible'));
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user