Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Short events are almost invisible #2696

Closed
Derkades opened this issue Nov 13, 2020 · 8 comments
Closed

Short events are almost invisible #2696

Derkades opened this issue Nov 13, 2020 · 8 comments
Labels
1. to develop Accepted and waiting to be taken care of bug

Comments

@Derkades
Copy link

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

@Derkades Derkades added 0. to triage Pending approval or rejection bug labels Nov 13, 2020
@tcitworld tcitworld added 1. to develop Accepted and waiting to be taken care of and removed 0. to triage Pending approval or rejection labels Nov 21, 2020
@mafgh
Copy link

mafgh commented Nov 30, 2020

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

@louis-berruyer
Copy link

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

Agenda Nextcloud

@daCaPo
Copy link

daCaPo commented Jan 12, 2021

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

@daCaPo
Copy link

daCaPo commented Feb 8, 2021

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.

@mafgh
Copy link

mafgh commented Feb 17, 2021

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.

@daCaPo
Copy link

daCaPo commented Mar 25, 2021

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

@JonathanTreffler
Copy link
Contributor

Duplicate of existing issue: #2644

@alexanderdd
Copy link

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 #2644

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of bug
Projects
None yet
Development

No branches or pull requests

7 participants