Skip to content

Commit

Permalink
better fix for timeline header cell overflow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arshaw committed Jul 28, 2021
1 parent 3ce1a41 commit 155c41d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion timeline/src/styles/timeline-slots.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,14 @@ vertical slots in both the header AND the body
& .fc-timeline-header-row-chrono { // a row of times
& .fc-timeline-slot-frame {
justify-content: flex-start; // horizontal align left or right
overflow: hidden; // important so text doesn't bleed out and cause extra scroll
}
}

& .fc-timeline-header-row:last-child { // guaranteed NOT to have sticky elements
& .fc-timeline-slot-frame {
// so text doesn't bleed out and cause extra scroll
// (won't work with sticky elements)
overflow: hidden;
}
}

Expand Down

0 comments on commit 155c41d

Please sign in to comment.