Page MenuHomePhabricator

[web] Calendar scrolling
ClosedPublic

Authored by michal on Oct 25 2022, 12:48 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 8, 1:57 AM
Unknown Object (File)
Sun, Nov 24, 11:06 PM
Unknown Object (File)
Sun, Nov 24, 11:06 PM
Unknown Object (File)
Sun, Nov 24, 11:06 PM
Unknown Object (File)
Sun, Nov 24, 11:06 PM
Unknown Object (File)
Sun, Nov 24, 11:06 PM
Unknown Object (File)
Sun, Nov 24, 11:06 PM
Unknown Object (File)
Nov 19 2024, 4:13 PM
Subscribers

Details

Summary

ENG-1678
This diff adds a scrollbar to the calendar if it's too big vertically.

image.png (1×2 px, 174 KB)

Test Plan

Test if calendar can be scrolled. Check if there is no scrollbar when it's not needed (the screen is high enough).

Diff Detail

Repository
rCOMM Comm
Branch
arcpatch-D5472
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

tomek requested changes to this revision.Oct 25 2022, 5:19 AM
tomek added inline comments.
web/calendar/calendar.css
19 ↗(On Diff #17886)

Why do we need to use absolute positioning? Is it possible to avoid id?

This revision now requires changes to proceed.Oct 25 2022, 5:19 AM

Used other method, without position: absolute. Moved padding-top to margin in nav because otherwise some of the calendar and scrollbar were cutoff at the bottom.

nice looks good, I would also add some padding to the bottom of the calendar (maybe 8px) to give the calendar some space to "breathe" at the bottom

This revision is now accepted and ready to land.Oct 26 2022, 6:34 AM

Rebase, add some padding at the bottom