The month display can get cramped on mobile.

Setting dayMaxEvents will limit the number of events shown per day, and automatically adds a more link to show the rest in a popup.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mortona2k created an issue. See original summary.

mortona2k’s picture

Status: Active » Needs review

Adds the dayMaxEvents setting under Views settings.

The difference between dayMaxEvents and dayMaxEventRows seems trivial - whether it counts the more link as an item?

dayMaxEventRows can be set per display.

Could be set to true to limit the count to the height of the day cell. Currently a number is implemented.

See also eventMaxStack - is this useful?

The popover position could use work, if it's on the right side, it could overflow the container (but is smart enough to move if the screen is too small).

mortona2k’s picture

Here's a patch that applies over my other recent patches that add similar options.

mortona2k’s picture

Another patch with some adjustments to the settings value.