Skip to content

Commit

Permalink
tweak css
Browse files Browse the repository at this point in the history
  • Loading branch information
kiley-mitti committed May 7, 2024
1 parent 748144e commit 7890d19
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@
.ruler-time {
display: flex;
align-items: center;
padding: 8px 20px 8px;
padding: 12px 20px;
justify-content: center;
}

.ruler-time.has-date-scroll {
padding: 8px 20px 8px;
}

.ruler-new-day-cell {
background-color: var(--color-background-base-default);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ export class RuxRuler {
'ruler-new-day-cell': this.shouldShowDate(
time
),
'has-date-scroll':
(this.showStartOfDay &&
this.interval === 'hour') ||
false,
}}
style={{
gridRow: '1',
Expand Down

0 comments on commit 7890d19

Please sign in to comment.