diff --git a/client/patterns/button-with-icon/Details.tsx b/client/patterns/button-with-icon/Details.tsx index 578f603..a5f7f13 100644 --- a/client/patterns/button-with-icon/Details.tsx +++ b/client/patterns/button-with-icon/Details.tsx @@ -22,13 +22,7 @@ const Details: React.FC<{}> = () => {
+
`} -css={``} +css={` +.button { + /* Center the content */ + align-items: center; + display: flex; + flex-direction: row; + justify-content: center; +} +`} >
= () => {
+ +
+ ... +
+ + + + ... + +`} +css={` +.chip { /* Center the content */ align-items: center; display: inline-flex; @@ -40,18 +52,12 @@ html={` /* Spacing */ padding: 4px 8px; -"> - -
- ... -
+} - - - ... - +.chip__content { + margin-right: 4px; +} `} -css={``} >
= () => {
+