Skip to content

Commit c9c76bf

Browse files
authored
Merge pull request #214 from usmonster/master
Fix: Today doesn't highlight when it is a weekend
2 parents 66eec54 + 63c8caa commit c9c76bf

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

css/style.css

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -128,18 +128,6 @@
128128
text-align: center;
129129
}
130130

131-
.fn-gantt .holiday {
132-
background-color: #ffd263;
133-
height: 24px;
134-
}
135-
136-
.fn-gantt .today {
137-
background-color: #fff8da;
138-
height: 24px;
139-
font-weight: bold;
140-
text-align: center;
141-
}
142-
143131
.fn-gantt .sa, .fn-gantt .sn, .fn-gantt .wd {
144132
height: 24px;
145133
text-align: center;
@@ -156,6 +144,18 @@
156144
text-align: center;
157145
}
158146

147+
.fn-gantt .holiday {
148+
background-color: #ffd263;
149+
height: 24px;
150+
}
151+
152+
.fn-gantt .today {
153+
background-color: #fff8da;
154+
height: 24px;
155+
font-weight: bold;
156+
text-align: center;
157+
}
158+
159159
.fn-gantt .rightPanel .month, .fn-gantt .rightPanel .year {
160160
float: left;
161161
overflow: hidden;

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ <h2 id="config">
228228
<td>
229229
<code>function (dt, rowId) { return; }</code></td>
230230
<td>
231-
Function called when clicking on empty space inside the Gantti data panel. <br />The parameter passed to the function is the date/time in milliseconds for the clicked cell, and the ID of the source object (row), if one was provided.</td>
231+
Function called when clicking on empty space inside the Gantt data panel. <br />The parameter passed to the function is the date/time in milliseconds for the clicked cell, and the ID of the source object (row), if one was provided.</td>
232232
</tr>
233233
<tr>
234234
<td>

0 commit comments

Comments
 (0)