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

Events are not displayed correctly with resourcetimeline plugin #5276

Closed
rosanne-bzh opened this issue Feb 26, 2020 · 1 comment
Closed

Events are not displayed correctly with resourcetimeline plugin #5276

rosanne-bzh opened this issue Feb 26, 2020 · 1 comment

Comments

@rosanne-bzh
Copy link

my js is :

plugins: [ 'interaction', 'resourceTimeline' ],
views: {
	timelineThreeYear: {
    type: 'resourceTimeline',
    duration: { year: 3 },
    buttonText: '3 ans'
  }
},
locale: 'fr',
height: 400,
defaultView: 'timelineThreeYear',
aspectRatio: 2,
slotWidth: '20',
defaultDate: new Date(),
displayEventTime:false,
header: {
  left: 'prev,next',
  center: 'title',
  right: 'resourceTimelineYear,timelineThreeYear',
},
resourceLabelText: 'Salles',
      resources: [
    { id: 'a', title: 'Salle 1' },
    { id: 'b', title: 'Salle 1' },
    { id: 'c', title: 'Salle 1' },
    { id: 'd', title: 'Salle 1' },
  ],
  events: [
    { resourceId: 'a', title: 'All Day Event', start: '2020-10-01' },
    { resourceId: 'b', title: 'Long Event', start: '2020-10-07', end: '2021-10-10' },
    { id: 999, resourceId: 'c', title: 'Repeating Event', start: '2019-10-09T16:00:00+00:00' },
    { id: 999, resourceId: 'a', title: 'Repeating Event', start: '2020-10-16T16:00:00+00:00' },
    { resourceId: 'b', title: 'Conference', start: '2019-10-17', end: '2020-10-19' },
    { resourceId: 'c', title: 'Meeting', start: '2019-10-18T10:30:00+00:00', end: '2020-10-18T12:30:00+00:00' },
    { resourceId: 'a', title: 'Lunch', start: '2019-10-18T12:00:00+00:00' },
    { resourceId: 'b', title: 'Birthday Party', start: '2019-10-19T07:00:00+00:00' },
  ],

the result is :
image

when i comment core main.min.css position: relative
.fc-event {
/* position: relative; */
display: block;
font-size: .85em;
line-height: 1.4;
border-radius: 3px;
border: 1px solid #3788d8;
}

the result is :
image

can someone help me ?

@acerix
Copy link
Member

acerix commented Feb 26, 2020

If this is a question, please refer to the support page and use Stack Overflow for help. If this is a bug, please supply a runnable, stripped-down demonstration.

@acerix acerix closed this as completed Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants