bevacqua / rome

:calendar: Customizable date (and time) picker. Opt-in UI, no jQuery!
https://bevacqua.github.io/rome
MIT License
2.91k stars 223 forks source link

Add option to hide next and last month days from calendar #128

Closed jordangarside closed 9 years ago

jordangarside commented 9 years ago

Part of the days for the previous and next months are showing up in the calendar. It would be nice to be able to disable this so that only the days from the current month are shown.

bevacqua commented 9 years ago

Use CSS for that

jordangarside commented 9 years ago

You're right, didn't think about setting opacity: 0.

If you set display: none; you'll get this: image

If you set opacity: 0; you'll get this: image

ghost commented 9 years ago

Be aware that with opacity:0 the links are still clickable; use visibility:hidden instead. (Not at a desktop so working from memory here....)

jordangarside commented 9 years ago

Good call On Aug 24, 2015 5:42 PM, "Erwin Wessels" notifications@github.com wrote:

Be aware that with opacity:0 the links are still clickable; use visibility:hidden instead. (Not at a desktop so working from memory here....)

— Reply to this email directly or view it on GitHub https://github.com/bevacqua/rome/issues/128#issuecomment-134427091.