Fix some components style

This commit is contained in:
Zoe Roux 2023-09-09 18:08:22 +02:00
parent a04bffbec9
commit 3b84161ec5
2 changed files with 5 additions and 4 deletions

View File

@ -40,14 +40,14 @@ export const HR = ({
orientation === "vertical" && { orientation === "vertical" && {
width: px(1), width: px(1),
height: "auto", height: "auto",
marginVertical: ts(1), marginY: ts(1),
marginHorizontal: ts(2), marginX: ts(2),
}, },
orientation === "horizontal" && { orientation === "horizontal" && {
height: px(1), height: px(1),
width: "auto", width: "auto",
marginHorizontal: ts(1), marginX: ts(1),
marginVertical: ts(2), marginY: ts(2),
}, },
], ],
props, props,

View File

@ -83,6 +83,7 @@ export const IconButton = forwardRef(function IconButton<AsProps = PressableProp
focusRipple focusRipple
{...(css( {...(css(
{ {
alignSelf: "center",
p: ts(1), p: ts(1),
m: px(2), m: px(2),
borderRadius: 9999, borderRadius: 9999,