diff --git a/app/assets/stylesheets/community.scss b/app/assets/stylesheets/community.scss index 96e5d0b75..130054718 100644 --- a/app/assets/stylesheets/community.scss +++ b/app/assets/stylesheets/community.scss @@ -5,26 +5,13 @@ } .panel { - min-height: 7rem; + min-height: auto; margin: 0.375rem 0; .button { margin-top: $line-height; } } - - //Participations.scss line 412 - .btn-new-theme-small { - - h2 { - border-top: 2px solid $brand; - display: inline-block; - font-size: rem-calc(16); - margin: -1px 0 rem-calc(12); - padding-top: rem-calc(6); - text-transform: uppercase; - } - } } .communities-participant { @@ -39,10 +26,7 @@ .topic-show { - p { - margin-bottom: 0; - } - + p, ul li { margin-bottom: 0; } diff --git a/app/views/communities/show.html.erb b/app/views/communities/show.html.erb index 40f14b2a2..f5009c92c 100644 --- a/app/views/communities/show.html.erb +++ b/app/views/communities/show.html.erb @@ -11,11 +11,11 @@
-
+
+
diff --git a/app/views/topics/_topics.html.erb b/app/views/topics/_topics.html.erb index 075c8dd82..e93d6688c 100644 --- a/app/views/topics/_topics.html.erb +++ b/app/views/topics/_topics.html.erb @@ -6,8 +6,8 @@
<% topics.each do |topic| %> -
-
+
+

<%= link_to topic.title, community_topic_path(@community, topic) %>

  @@ -18,7 +18,7 @@ <%= topic.author.name %>

-
+
<% if topic.author == current_user %> <%= link_to t("community.topic.edit_button"), edit_community_topic_path(@community.id, topic), class: 'button small hollow' %> <% end %> diff --git a/config/locales/es/community.yml b/config/locales/es/community.yml index c82f6c83f..051b23763 100644 --- a/config/locales/es/community.yml +++ b/config/locales/es/community.yml @@ -25,7 +25,6 @@ es: topic: create: Crear un tema - edit_button: Editar form: topic_title: Titulo del tema @@ -34,7 +33,6 @@ es: submit_button: Crear tema edit: submit_button: Guardar cambios - show: community_of_the_proposal: Comunidad de la propuesta tab: