Added lib/password. Small tweaks.
This commit is contained in:
@@ -3,7 +3,7 @@ import { Row, Column, Text } from '@umami/react-zen';
|
||||
export function ActionForm({ label, description, children }) {
|
||||
return (
|
||||
<Row padding="6" border borderRadius="3" justifyContent="space-between" shadow="2">
|
||||
<Column>
|
||||
<Column gap>
|
||||
<Text weight="bold">{label}</Text>
|
||||
<Text>{description}</Text>
|
||||
</Column>
|
||||
|
||||
@@ -40,7 +40,15 @@ export function ChangeLabel({
|
||||
STYLES[good && 'positive'] || STYLES[!good && 'negative'] || STYLES[neutral && 'neutral'];
|
||||
|
||||
return (
|
||||
<Row {...props} style={style} alignSelf="flex-start" paddingX="2" paddingY="1">
|
||||
<Row
|
||||
{...props}
|
||||
style={style}
|
||||
alignItems="center"
|
||||
alignSelf="flex-start"
|
||||
paddingX="2"
|
||||
paddingY="1"
|
||||
gap="2"
|
||||
>
|
||||
{!neutral && (
|
||||
<Icon rotate={positive ? -90 : 90} size={size}>
|
||||
<Arrow />
|
||||
|
||||
Reference in New Issue
Block a user