Skip to content
This repository has been archived by the owner on Oct 20, 2021. It is now read-only.

Commit

Permalink
fix(docs): button line-height caused by markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimi-Gao committed Apr 28, 2020
1 parent 0cb4c7a commit 153d289
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Button/docs/Button-gallery.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Button } from '@webapps-ui/core-react'

export const ButtonType = () => {
return (
<div>
<div style={{lineHeight: '20px'}}>
<div style={{border: '1px solid hsl(198, 20%, 83%)'}}>
<div style={{backgroundColor: '#eff3f5', padding: '15px 15px 15px 30px'}}>
<strong style={{marginRight: '58px'}}>Type</strong>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header/docs/Header-gallery.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const ColorfulHeader = () => {
'black'
]
const ul = {
// marginTop: -20
lineHeight: '20px' // todo: fix button line-height caused by .markdown
}
const li = {
width: '100%',
Expand Down

0 comments on commit 153d289

Please sign in to comment.