Skip to content

Commit

Permalink
Merge pull request #1016 from pkawula/patch-1
Browse files Browse the repository at this point in the history
Update styling.mdx - wrong code in 'padding' example
  • Loading branch information
danielbarion committed Apr 21, 2023
2 parents 5fa0e52 + ab80337 commit b5d6fea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/examples/styling.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ import 'react-tooltip/dist/react-tooltip.css'

<style>
.example-container .example-padding {
border-radius: 50%;
padding: 48px;
}
</style>

Expand Down Expand Up @@ -375,4 +375,4 @@ import 'react-tooltip/dist/react-tooltip.css'

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

:::
:::

0 comments on commit b5d6fea

Please sign in to comment.