From 2265c046ba081028f924b2491726597ab8d22182 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Fri, 17 May 2013 11:19:58 -0400 Subject: [PATCH] Some tweaks to category modal --- .../javascripts/discourse/views/modal/edit_category_view.js | 4 ++-- app/assets/stylesheets/application/modal.css.scss | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/discourse/views/modal/edit_category_view.js b/app/assets/javascripts/discourse/views/modal/edit_category_view.js index 951981b5718..0d99c4c6b56 100644 --- a/app/assets/javascripts/discourse/views/modal/edit_category_view.js +++ b/app/assets/javascripts/discourse/views/modal/edit_category_view.js @@ -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'); diff --git a/app/assets/stylesheets/application/modal.css.scss b/app/assets/stylesheets/application/modal.css.scss index 99bdad6fede..f4b6d28224d 100644 --- a/app/assets/stylesheets/application/modal.css.scss +++ b/app/assets/stylesheets/application/modal.css.scss @@ -199,7 +199,7 @@ height: 350px; } &.small .modal-body { - height: 280px; + height: 290px; } }