@@ -140,15 +140,6 @@ declare var moment: any;
140
140
` ,
141
141
styles : [
142
142
`
143
- * {
144
- box-sizing: content-box;
145
- /*
146
- This is necessary because the rest of the styles assume it
147
- and CSS "frameworks" explicitly set the box-sizing to border-box,
148
- breaking the layout here.
149
- */
150
- }
151
-
152
143
@keyframes slideDown {
153
144
0% {
154
145
transform: translateY(-10px);
@@ -183,6 +174,7 @@ declare var moment: any;
183
174
}
184
175
.ngui-datetime-picker .days {
185
176
width: 210px; /* 30 x 7 days */
177
+ box-sizing: content-box;
186
178
}
187
179
.ngui-datetime-picker .close-button {
188
180
position: absolute;
@@ -191,6 +183,7 @@ declare var moment: any;
191
183
right: 0;
192
184
z-index: 1;
193
185
padding: 0 5px;
186
+ box-sizing: content-box;
194
187
}
195
188
.ngui-datetime-picker .close-button:before {
196
189
content: 'X';
@@ -218,6 +211,7 @@ declare var moment: any;
218
211
cursor: pointer;
219
212
width: 25px;
220
213
text-align: center;
214
+ box-sizing: content-box;
221
215
}
222
216
.ngui-datetime-picker > .month > .prev_next:hover {
223
217
background-color: #333;
@@ -241,18 +235,19 @@ declare var moment: any;
241
235
text-align: right;
242
236
width: 21px;
243
237
vertical-align: top;
238
+ box-sizing: content-box;
244
239
}
245
240
246
241
.ngui-datetime-picker .days {
247
242
display: inline-block;
248
243
width: 210px; /* 30 x 7 */
249
244
text-align: center;
250
245
padding: 0 10px;
246
+ box-sizing: content-box;
251
247
}
252
248
.ngui-datetime-picker .days .day-of-week,
253
249
.ngui-datetime-picker .days .day {
254
250
box-sizing: border-box;
255
- -moz-box-sizing: border-box;
256
251
border: 1px solid transparent;
257
252
width: 30px;
258
253
line-height: 28px;
@@ -328,6 +323,7 @@ declare var moment: any;
328
323
display: inline-block;
329
324
width: 45px;
330
325
vertical-align: top;
326
+ box-sizing: content-box;
331
327
}
332
328
.closing-layer {
333
329
display: block;
0 commit comments