Skip to content

Commit 449f728

Browse files
authored
Merge pull request #52 from metalabdesign/fix-readme-css
Fix incorrect CSS example in flowtip-react-dom README.md
2 parents 8436097 + c4dc4c8 commit 449f728

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/flowtip-react-dom/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ class FlowTipExample extends React.Component {
6767
}
6868

6969
.flowtip-tail-top,
70-
.flowtip-tail-right {
70+
.flowtip-tail-bottom {
7171
width: 20px;
7272
height: 10px;
7373
}
7474

75-
.flowtip-tail-bottom,
75+
.flowtip-tail-right,
7676
.flowtip-tail-left {
7777
width: 10px;
7878
height: 20px;
@@ -89,25 +89,25 @@ class FlowTipExample extends React.Component {
8989
.flowtip-tail-top::before {
9090
border-left: 10px solid transparent;
9191
border-right: 10px solid transparent;
92-
border-bottom: 20px solid white;
92+
border-top: 10px solid white;
9393
}
9494

9595
.flowtip-tail-right::before {
9696
border-top: 10px solid transparent;
9797
border-bottom: 10px solid transparent;
98-
border-left: 20px solid white;
98+
border-right: 10px solid white;
9999
}
100100

101101
.flowtip-tail-bottom::before {
102102
border-left: 10px solid transparent;
103103
border-right: 10px solid transparent;
104-
border-top: 20px solid white;
104+
border-bottom: 10px solid white;
105105
}
106106

107107
.flowtip-tail-left::before {
108108
border-top: 10px solid transparent;
109109
border-bottom: 10px solid transparent;
110-
border-right: 20px solid white;
110+
border-left: 10px solid white;
111111
}
112112
```
113113

0 commit comments

Comments
 (0)