mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
fixed button size
This commit is contained in:
parent
b9b9ad6fb5
commit
a5d122c112
8
UI/Content/Overrides/bootstrap.less
vendored
8
UI/Content/Overrides/bootstrap.less
vendored
@ -16,6 +16,14 @@
|
||||
|
||||
.btn {
|
||||
min-width : 80px;
|
||||
|
||||
&.btn-mini{
|
||||
min-width: 0px;
|
||||
}
|
||||
|
||||
&.btn-icon-only{
|
||||
min-width: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
.slide-button {
|
||||
|
@ -30,6 +30,10 @@ define(
|
||||
this.$el.addClass('active');
|
||||
this.invokeCallback();
|
||||
}
|
||||
|
||||
if(!this.model.get('title')){
|
||||
this.$el.addClass('btn-icon-only');
|
||||
}
|
||||
},
|
||||
|
||||
onClick: function () {
|
||||
|
@ -24,6 +24,10 @@ define(
|
||||
this.$el.addClass('active');
|
||||
this.invokeCallback();
|
||||
}
|
||||
|
||||
if(!this.model.get('title')){
|
||||
this.$el.addClass('btn-icon-only');
|
||||
}
|
||||
},
|
||||
|
||||
onClick: function () {
|
||||
|
Loading…
Reference in New Issue
Block a user