Commit cc8ec159b61a20fbbd441a2e5b9a859125dcda2c

Authored by AurelioAHeckert
1 parent d1c9527f

ActionItem507: limit sub-category height

git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2230 3f533792-8f58-4932-b0fe-aaf55b0a4547
@@ -71,8 +71,8 @@ ActiveRecord::Schema.define(:version => 46) do @@ -71,8 +71,8 @@ ActiveRecord::Schema.define(:version => 46) do
71 t.boolean "virtual", :default => false 71 t.boolean "virtual", :default => false
72 end 72 end
73 73
74 - add_index "articles_categories", ["article_id"], :name => "index_articles_categories_on_article_id"  
75 add_index "articles_categories", ["category_id"], :name => "index_articles_categories_on_category_id" 74 add_index "articles_categories", ["category_id"], :name => "index_articles_categories_on_category_id"
  75 + add_index "articles_categories", ["article_id"], :name => "index_articles_categories_on_article_id"
76 76
77 create_table "blocks", :force => true do |t| 77 create_table "blocks", :force => true do |t|
78 t.string "title" 78 t.string "title"
@@ -244,8 +244,8 @@ ActiveRecord::Schema.define(:version => 46) do @@ -244,8 +244,8 @@ ActiveRecord::Schema.define(:version => 46) do
244 t.datetime "created_at" 244 t.datetime "created_at"
245 end 245 end
246 246
247 - add_index "taggings", ["tag_id"], :name => "index_taggings_on_tag_id"  
248 add_index "taggings", ["taggable_id", "taggable_type"], :name => "index_taggings_on_taggable_id_and_taggable_type" 247 add_index "taggings", ["taggable_id", "taggable_type"], :name => "index_taggings_on_taggable_id_and_taggable_type"
  248 + add_index "taggings", ["tag_id"], :name => "index_taggings_on_tag_id"
249 249
250 create_table "tags", :force => true do |t| 250 create_table "tags", :force => true do |t|
251 t.string "name" 251 t.string "name"
public/designs/themes/ecosol/stylesheets/controller_search.css
@@ -143,6 +143,12 @@ body.category4 .search-results-type-profile.common-profile-list-block li a { @@ -143,6 +143,12 @@ body.category4 .search-results-type-profile.common-profile-list-block li a {
143 padding: 3px 0px 3px 10px; 143 padding: 3px 0px 3px 10px;
144 } 144 }
145 145
  146 +#product-categories-menu .cat-parent ul {
  147 + border: 1px solid red;
  148 + max-height: 90px;
  149 + overflow: auto;
  150 +}
  151 +
146 #product-categories-menu .sub-opening, 152 #product-categories-menu .sub-opening,
147 #product-categories-menu .sub-closeing { 153 #product-categories-menu .sub-closeing {
148 } 154 }