Skip to content

Commit

Permalink
Fix am-pm
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Dec 20, 2017
1 parent f89d077 commit 823f842
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions core/css/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1092,16 +1092,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;
Expand All @@ -1122,11 +1125,6 @@ code {

&.ui-timepicker-hours {
border-right: 1px solid $color-border;
/* AM/PM fix */
.ui-timepicker tr {
position: relative;
margin-left: 25px;
}
}
}
}
Expand Down

0 comments on commit 823f842

Please sign in to comment.