Calendar: Short events are almost invisible

Created on 13 Nov 2020  路  8Comments  路  Source: nextcloud/calendar

Steps to reproduce

  1. Create an event with very short duration (e.g. 1 minute)
  2. Observe

Expected behaviour

Events should show with a minimum length like they did before, for example 15 minutes.

Actual behaviour

Events are shown with their actual duration, making them almost invisible.
image

It might not seem important (who creates events that short?) but it is useful for those with calendar subscriptions where short calendar events represent deadlines.

Calendar app

Calendar app version: (see apps admin page, e.g. 2.0.1) 2.1.2

CalDAV-clients used: (Thunderbird Lightning, DAVx5, Evolution, macOS Calendar, etc) None

1 - to develop bug

Most helpful comment

FWIW,

fc-timegrid-event-harness { min-height: 25px; }

doesn't work for me, however adding

.fc-v-event {
    min-height: 2em;
}

to nextcloud/apps/calendar/css/fullcalendar.scs does.

All 8 comments

This is also true for 15 Minute durations:
short
Or shorter/overlapping
Screenshot_2020-12-11_16-21-32

Same problem on my side, it has become simply unreadable!

Agenda Nextcloud

Same problem here. And we have a lot of "deadline-like" events with no duration (start and end date are equal).

The same symptom was already adressed in issue #221, and there was even a fix for it. Seems it got lost somehow?

The thin lines are caused by the ".014" inset difference between top and bottom. In the example below, inset: 500px 0% -525px; would produce a reasonable result:

<div class="fc-timegrid-event-harness" style="z-index: 1; inset: 500px 0% -500.014px;">...

Unfortunately, I was not yet able to find the code producing the output.

As a workaround, the CSS

fc-timegrid-event-harness { min-height: 25px; }

seems to work.

FWIW,

fc-timegrid-event-harness { min-height: 25px; }

doesn't work for me, however adding

.fc-v-event {
    min-height: 2em;
}

to nextcloud/apps/calendar/css/fullcalendar.scs does.

It's a pitty that this did not make it into the 2.2.0 release.

Duplicate of existing issue: #2644

Duplicate of existing issue: #2644

I agree. So close this one here?
Some of the info here by @daCaPo could be helpful over there at https://github.com/nextcloud/calendar/issues/2644

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ad1rie1 picture ad1rie1  路  3Comments

brylie picture brylie  路  3Comments

scorewinner picture scorewinner  路  3Comments

juliushaertl picture juliushaertl  路  4Comments

archont00 picture archont00  路  4Comments