Skip to content

Commit b5d6fea

Browse files
authored
Merge pull request #1016 from pkawula/patch-1
Update styling.mdx - wrong code in 'padding' example
2 parents 5fa0e52 + ab80337 commit b5d6fea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/examples/styling.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ import 'react-tooltip/dist/react-tooltip.css'
347347

348348
<style>
349349
.example-container .example-padding {
350-
border-radius: 50%;
350+
padding: 48px;
351351
}
352352
</style>
353353

@@ -375,4 +375,4 @@ import 'react-tooltip/dist/react-tooltip.css'
375375

376376
In summary, if you do it correctly you can use CSS specificity instead of `!important`.
377377

378-
:::
378+
:::

0 commit comments

Comments
 (0)