Fix am-pm

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2017-12-20 10:37:33 +01:00
parent bcad10075e
commit d190754e2b
No known key found for this signature in database
GPG Key ID: FB5ACEED51955BF8
1 changed files with 7 additions and 9 deletions

View File

@ -1086,16 +1086,19 @@ code {
}
}
/* AM/PM fix */
table.ui-timepicker tr th {
position: absolute;
margin-left: -24px;
top: calc(50% + 5px);
table.ui-timepicker tr .ui-timepicker-hour-cell:first-child {
margin-left: 30px;
}
.ui-timepicker-table {
th {
font-weight: normal;
color: nc-lighten($color-main-text, 33%);
opacity: .8;
&.periods {
padding: 0;
width: 30px;
line-height: 30px;
}
}
tr:hover {
background-color: inherit;
@ -1116,11 +1119,6 @@ code {
&.ui-timepicker-hours {
border-right: 1px solid $color-border;
/* AM/PM fix */
.ui-timepicker tr {
position: relative;
margin-left: 25px;
}
}
}
}