Skip to content

Commit

Permalink
calendar styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ElviaBth committed Nov 23, 2023
1 parent 9a0dfe4 commit 116774c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/packs/src/decidim/calendar/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const calendar = new Calendar(calendarEl, {
? ` - ${info.event.extendedProps.subtitle}`
: "";
const hour = "hour" in info.event.extendedProps
? ` ${info.event.extendedProps.hour} `
? `${info.event.extendedProps.hour} `
: "";
return {
html: `<span class="fc-title">${hour}<b>${info.event.title}</b>${subtitle}</span>`
Expand Down
2 changes: 1 addition & 1 deletion app/packs/stylesheets/decidim/calendar/calendar.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#calendar {
.fc-title {
margin-left: 5px;
margin-left: 10px;
}

.fc-scroller {
Expand Down
2 changes: 1 addition & 1 deletion app/views/decidim/calendar/calendar/_calendar_css.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
.calendar-event-<%= item[:id]%>.has-hour::before {
content: "";
position: absolute;
left: 5px;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 8px;
Expand Down

0 comments on commit 116774c

Please sign in to comment.