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