mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 01:38:24 +00:00
fixed button size
This commit is contained in:
parent
b9b9ad6fb5
commit
a5d122c112
3 changed files with 16 additions and 0 deletions
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 a new issue