Comments (5)
Could you provide a full example please ? screenshots ?
from react-vertical-timeline.
import React, {Component} from 'react';
import { VerticalTimeline, VerticalTimelineElement } from 'react-vertical-timeline-component';
import 'react-vertical-timeline-component/style.min.css';
const VALUES = [ "2019-04-01","2019-07-01","2019-10-01","2020-01-01"];
class Operations extends Component{
render(){
return(
Timeline
<VerticalTimelineElement
className="vertical-timeline-element--work"
date="2019: April-July"
iconStyle={{ background: 'rgb(237, 123, 53)', color: '#11287f' }}
animate="true"
style = {{margin:"100px"}}
>
Init
<VerticalTimelineElement
className="vertical-timeline-element--work"
date="July-October"
iconStyle={{ background: 'rgb(145, 237, 53)', color: '#11287f' }}
animate="true"
>
<h3 className="vertical-timeline-element-title">Finding a rhythm</h3>
<p>
</p>
</VerticalTimelineElement>
<VerticalTimelineElement
className="vertical-timeline-element--work"
date="October-December"
iconStyle={{ background: 'rgb(53, 237, 229)', color: '#11287f' }}
animate="true"
>
<h3 className="vertical-timeline-element-title">Pick up the tempo</h3>
<p>
</p>
</VerticalTimelineElement>
<VerticalTimelineElement
className="vertical-timeline-element--work"
date="2020: January onwards"
iconStyle={{ background: 'rgb(111, 34, 171)', color: '#11287f' }}
animate="true"
>
<h3 className="vertical-timeline-element-title">Go for Gold!</h3>
<p>
</p>
</VerticalTimelineElement>
</VerticalTimeline>
</div>
</div>
);
}
}
export default Operations;
from react-vertical-timeline.
ScreenShot:
from react-vertical-timeline.
Github is rendering parts of the code im pasting.
Uploaded the code snippet to uploadfiles.io as a .txt
from react-vertical-timeline.
I think the problem is likely due to box-sizing: border-box
Maybe related to this issue : #3
from react-vertical-timeline.
Related Issues (20)
- How to modify style.min.css for custom styling
- enhancement: Ability to add custom breakpoints
- How to remove vertical line and icons HOT 1
- Can't find a way to remove connector below last item HOT 1
- change lineColor for tailwind dark mode HOT 2
- The white line not showing on the first render in NextJS 13 HOT 3
- No props for icon box shadow
- TypeError: Cannot read properties of undefined (reading 'prototype') HOT 3
- Animation Issue in Timeline when Loading More Items HOT 5
- In Next js 13.5 react-vertical-timeline not working HOT 35
- Typescript Error HOT 8
- [QUESTION] does react-vertical-timeline support live feed, out of the box? HOT 1
- Receiving warning: extra attributes from the server: style when using component HOT 1
- How do i change the border type for the sideline??
- Does the react-vertical-timeline-component doesn't work in latest next.js? HOT 17
- Have the 2 columns layaut also in mobile HOT 1
- VerticalTimelineElement doesn't properly center all icon elements HOT 4
- "Unable to resolve dependency tree" HOT 1
- how to customize width of the element HOT 1
- não funciona
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-vertical-timeline.