fixed button size

This commit is contained in:
Keivan Beigi 2013-06-28 16:19:00 -07:00
parent b9b9ad6fb5
commit a5d122c112
3 changed files with 16 additions and 0 deletions

View File

@ -16,6 +16,14 @@
.btn {
min-width : 80px;
&.btn-mini{
min-width: 0px;
}
&.btn-icon-only{
min-width: 15px;
}
}
.slide-button {

View File

@ -30,6 +30,10 @@ define(
this.$el.addClass('active');
this.invokeCallback();
}
if(!this.model.get('title')){
this.$el.addClass('btn-icon-only');
}
},
onClick: function () {

View File

@ -24,6 +24,10 @@ define(
this.$el.addClass('active');
this.invokeCallback();
}
if(!this.model.get('title')){
this.$el.addClass('btn-icon-only');
}
},
onClick: function () {