diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index a3cba7263..555c19d08 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -2050,6 +2050,7 @@ table { .budget-investment-info, .debate-info, .investment-project-info, +.legislation-comments, .proposal-info, .topic-info { @@ -2062,6 +2063,20 @@ table { } } +.legislation-comments { + + .comments-count { + + a { + text-decoration: underline; + } + + &::before { + color: #999; + } + } +} + // 16. Flags // --------- diff --git a/app/assets/stylesheets/legislation_process.scss b/app/assets/stylesheets/legislation_process.scss index 36a2298d1..6fe6a495d 100644 --- a/app/assets/stylesheets/legislation_process.scss +++ b/app/assets/stylesheets/legislation_process.scss @@ -806,13 +806,12 @@ .comment { margin-bottom: rem-calc(48); - a { + .expand-context a { span { text-decoration: underline; } - .icon-expand, - .icon-comments { + .icon-expand { text-decoration: none; color: #999; line-height: 0; @@ -822,10 +821,6 @@ margin-left: rem-calc(4); } - .icon-comments { - margin-right: rem-calc(4); - } - &:active, &:focus, &:hover { diff --git a/app/views/legislation/annotations/index.html.erb b/app/views/legislation/annotations/index.html.erb index 728da47c5..b935f6871 100644 --- a/app/views/legislation/annotations/index.html.erb +++ b/app/views/legislation/annotations/index.html.erb @@ -18,7 +18,7 @@ <% @annotations.each do |annotation| %>
<%= t("legislation.annotations.index.comments_about") %> - + <%= link_to legislation_process_draft_version_path(@process, @draft_version, anchor: "annotation-id-#{annotation.id}") do %> <%= t("legislation.annotations.index.see_in_context") %> @@ -27,12 +27,12 @@
<%= sanitize(annotation.context).presence || annotation.quote %>
- <%= link_to legislation_process_draft_version_annotation_path(@process, @draft_version, annotation) do %> - - - <%= t("legislation.annotations.index.comments_count", count: annotation.comments_count) %> - - <% end %> + + <%= link_to t("legislation.annotations.index.comments_count", count: annotation.comments_count), + legislation_process_draft_version_annotation_path(@process, + @draft_version, + annotation) %> +
<% end %>