diff --git a/app/helpers/manage_products_helper.rb b/app/helpers/manage_products_helper.rb
index a8b47fa..1143ae0 100644
--- a/app/helpers/manage_products_helper.rb
+++ b/app/helpers/manage_products_helper.rb
@@ -55,7 +55,7 @@ module ManageProductsHelper
def options_for_select_categories(categories, selected = nil)
categories.sort_by{|cat| cat.name.transliterate}.map do |category|
selected_attribute = selected.nil? ? '' : (category == selected ? "selected='selected'" : '')
- ""
+ ""
end.join("\n")
end
diff --git a/features/manage_products.feature b/features/manage_products.feature
index c152099..50431cb 100644
--- a/features/manage_products.feature
+++ b/features/manage_products.feature
@@ -449,15 +449,15 @@ Feature: manage products
Scenario: Truncate long category name in selection of category
Given the following product_category
| name |
- | Super Quantum Computers |
- | Nanonote nanotech with long name |
+ | Super Quantum Computers with teraflops |
+ | Nanonote nanotech with long long name |
And the following product_category
| name | parent |
| Netbook Quantum | Super Quantum Computers |
And I am logged in as "joaosilva"
When I go to Rede Moinho's new product page
- Then I should see "Nanonote nanotech..."
- And I should see "Super Quantum Com... »"
+ Then I should see "Nanonote nanotech with long lo..."
+ And I should see "Super Quantum Computers with t... »"
@selenium
Scenario: Edit unit of a product together your name
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 82310f9..9d83744 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -3364,6 +3364,7 @@ h1#agenda-title {
.categories_container select {
margin-right: 10px;
height: 176px;
+ font-size: 11px;
}
.controller-manage_products #categories_selection_actionbar input.button {
height: 23px !important;
--
libgit2 0.21.2