Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions decidim-core/app/cells/decidim/activity/show.erb
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<div class="activity" data-activity>
<div class="activity__time">
<p class="activity__time">
<%= created_at %>
</div>
</p>
<div class="activity__content">
<span>
<div>
<% if title.present? %>
<span>
<p>
<%= title_icon %>
<%= title %>
</span>
</p>
<% end %>
<a href="<%= resource_link_path %>">
<%= html_truncate decidim_sanitize(resource_link_text, strip_tags: true), length: 80 %>
</a>
</span>
</div>
<% unless hide_participatory_space? %>
<span>
<%= participatory_space_link %>
Expand Down
8 changes: 4 additions & 4 deletions decidim-core/app/packs/stylesheets/decidim/_activity.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
&__content {
@apply col-span-2 md:col-span-1 order-first md:order-none space-y-2;

> span:first-child {
span {
@apply text-gray-2 text-sm;
> div:first-child {
p {
@apply text-gray-2 text-sm inline-block;

svg {
@apply text-gray fill-current;
@apply text-gray fill-current inline;
}
}

Expand Down
Loading