Skip to content

Commit 9df4e16

Browse files
author
Matt Lewis
committed
Revert "fix: adjust event title margins for angular 6"
This reverts commit a29883a.
1 parent eb1584e commit 9df4e16

File tree

3 files changed

+7
-18
lines changed

3 files changed

+7
-18
lines changed

src/modules/day/calendar-day-view.scss

+2-6
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212

1313
/* stylelint-disable-next-line selector-type-no-unknown */
14-
mwl-calendar-day-view-hour-segment, /* fix for https://github.com/mattlewis92/angular-calendar/issues/260*/
14+
mwl-calendar-day-view-hour-segment, // fix for https://github.com/mattlewis92/angular-calendar/issues/260
1515
.cal-hour-segment {
1616
display: block;
1717
}
@@ -55,16 +55,12 @@
5555
white-space: nowrap;
5656
height: 100%;
5757
box-sizing: border-box;
58-
background-color: #d1e8ff;
58+
background-color: #D1E8FF;
5959
border: 1px solid #1e90ff;
6060
color: #1e90ff;
6161
user-select: none;
6262
}
6363

64-
.cal-event-actions {
65-
margin-right: 2px;
66-
}
67-
6864
.cal-event-title:link {
6965
color: currentColor;
7066
}

src/modules/month/calendar-month-view.scss

+3-6
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,12 @@
9898
display: inline-block;
9999
margin: 2px;
100100
background-color: #1e90ff;
101-
border-color: #d1e8ff;
101+
border-color: #D1E8FF;
102102
color: #fff;
103103
}
104104

105-
.cal-event-title {
106-
margin: 0 4px;
107-
&:link {
108-
color: currentColor;
109-
}
105+
.cal-event-title:link {
106+
color: currentColor;
110107
}
111108

112109
.cal-day-cell.cal-in-month.cal-has-events {

src/modules/week/calendar-week-view.scss

+2-6
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,17 @@
3838
}
3939

4040
.cal-event {
41-
padding: 0 8px;
41+
padding: 0 10px;
4242
font-size: 12px;
4343
margin-left: 2px;
4444
margin-right: 2px;
4545
height: 30px;
4646
line-height: 30px;
47-
background-color: #d1e8ff;
47+
background-color: #D1E8FF;
4848
border: 1px solid #1e90ff;
4949
color: #1e90ff;
5050
}
5151

52-
.cal-event-actions {
53-
margin-right: 2px;
54-
}
55-
5652
.cal-event-title:link {
5753
color: currentColor;
5854
}

0 commit comments

Comments
 (0)