mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 00:53:57 -07: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 {
|
.btn {
|
||||||
min-width : 80px;
|
min-width : 80px;
|
||||||
|
|
||||||
|
&.btn-mini{
|
||||||
|
min-width: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.btn-icon-only{
|
||||||
|
min-width: 15px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.slide-button {
|
.slide-button {
|
||||||
|
|
|
@ -30,6 +30,10 @@ define(
|
||||||
this.$el.addClass('active');
|
this.$el.addClass('active');
|
||||||
this.invokeCallback();
|
this.invokeCallback();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!this.model.get('title')){
|
||||||
|
this.$el.addClass('btn-icon-only');
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
onClick: function () {
|
onClick: function () {
|
||||||
|
|
|
@ -24,6 +24,10 @@ define(
|
||||||
this.$el.addClass('active');
|
this.$el.addClass('active');
|
||||||
this.invokeCallback();
|
this.invokeCallback();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!this.model.get('title')){
|
||||||
|
this.$el.addClass('btn-icon-only');
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
onClick: function () {
|
onClick: function () {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue