Some tweaks to category modal

This commit is contained in:
Neil Lalonde 2013-05-17 11:19:58 -04:00
parent f3282e33a3
commit 2265c046ba
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@
**/
Discourse.EditCategoryView = Discourse.ModalBodyView.extend({
templateName: 'modal/edit_category',
generalSelected: Ember.computed.equal('selectedTab', 'general'),
generalSelected: Ember.computed.equal('selectedTab', 'general'),
securitySelected: Ember.computed.equal('selectedTab', 'security'),
settingsSelected: Ember.computed.equal('selectedTab', 'settings'),
foregroundColors: ['FFFFFF', '000000'],
@ -20,7 +20,7 @@ Discourse.EditCategoryView = Discourse.ModalBodyView.extend({
modalClass: function() {
return "edit-category-modal " + (this.present('category.description') ? 'full' : 'small');
}.property(),
}.property('category.description'),
selectGeneral: function() {
this.set('selectedTab', 'general');

View File

@ -199,7 +199,7 @@
height: 350px;
}
&.small .modal-body {
height: 280px;
height: 290px;
}
}