mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 22:27:16 +01:00
Added lib/password. Small tweaks.
Some checks failed
Node.js CI / build (postgresql, 18.18) (push) Has been cancelled
Some checks failed
Node.js CI / build (postgresql, 18.18) (push) Has been cancelled
This commit is contained in:
parent
9ccafc390a
commit
baba06c692
6 changed files with 28 additions and 19 deletions
|
|
@ -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 />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue