Skip to content

Commit bf6cf11

Browse files
author
Matt Lewis
committed
refactor(dayView): remove nbsp hack and replace with css rule
1 parent e77b18d commit bf6cf11

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

scss/day-view.scss

+4
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
text-align: center;
2727
}
2828

29+
.cal-time::after {
30+
content: ' ';
31+
}
32+
2933
.cal-hour-segment:hover,
3034
.cal-drag-over .cal-hour-segment {
3135
background-color: #ededed;

src/components/day/calendarDayViewHourSegment.component.ts

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import { DayViewHourSegment } from 'calendar-utils';
88
<div [hidden]="!segment.isStart" class="cal-time">
99
{{ segment.date | calendarDate:'dayViewHour':locale }}
1010
</div>
11-
&nbsp;
1211
</div>
1312
`
1413
})

0 commit comments

Comments
 (0)