Skip to content

Commit

Permalink
remove extra whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
ElviaBth committed Nov 22, 2023
1 parent ae2424b commit 9a0dfe4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions app/presenters/decidim/calendar/event_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def full_title
participatory_process.title
else
title
end
end
end

def subtitle
Expand All @@ -87,7 +87,7 @@ def subtitle
title
else
""
end
end
end

def all_day?
Expand Down
9 changes: 4 additions & 5 deletions app/views/decidim/calendar/calendar/_calendar_css.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,15 @@
border-color: transparent;
color: inherit;
}
.calendar-event-<%= item[:id]%>.has-hour::before {
.calendar-event-<%= item[:id]%>.has-hour::before {
content: "";
display: inline-block;
position: absolute;
left: 5px;
left: 5px;
top: 50%;
transform: translateY(-50%);
width: 8px;
height: 8px;
background-color: <%= item[:color] %>;
height: 8px;
background-color: <%= item[:color]%>;
border-radius: 50%;
}
<% end %>
Expand Down

0 comments on commit 9a0dfe4

Please sign in to comment.