Skip to content

Commit 35fa431

Browse files
authored
Merge pull request #22 from Proskynete/dev
Dev
2 parents 8958e9a + dcac06c commit 35fa431

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vertical-timeline-component-react",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "A simple component for create a vertical timeline with Reactjs",
55
"main": "build/index.js",
66
"repository": "https://github.com/Proskynete/vertical-timeline-component-react",

src/styles/main.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export const BodyWrapper = styled.article`
6262
${ContainerWrapper}:last-of-type &:last-of-type:after {
6363
background-color: ${(props) => props.theme.lineColor};
6464
bottom: 0;
65+
box-sizing: content-box;
6566
content: '';
6667
height: 100%;
6768
left: 10px;
@@ -72,6 +73,7 @@ export const BodyWrapper = styled.article`
7273
}
7374
7475
${ContainerWrapper}:last-of-type &:last-of-type:after {
76+
box-sizing: content-box;
7577
display: none;
7678
}
7779
`;
@@ -85,6 +87,7 @@ export const Title = styled.p`
8587
background-color: ${(props) => props.theme.dotColor};
8688
border: 2px solid ${(props) => props.theme.borderDotColor};
8789
border-radius: 50%;
90+
box-sizing: content-box;
8891
content: '';
8992
height: 6px;
9093
left: 6px;

test/components/__snapshots__/section.spec.js.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
exports[`<Section /> should create Snapshot 1`] = `
44
<article
5-
className="sc-AxheI iITLKJ"
5+
className="sc-AxheI kdvXAR"
66
>
77
<p
8-
className="sc-Axmtr bAnsOc"
8+
className="sc-Axmtr kHDhOq"
99
>
1010
title
1111
</p>

0 commit comments

Comments
 (0)