Skip to content

Commit

Permalink
fix(regulations-admin): Disclaimer button (#16055)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
thordurhhh and kodiakhq[bot] authored Sep 18, 2024
1 parent c9a363e commit 2dd6e46
Showing 1 changed file with 23 additions and 9 deletions.
32 changes: 23 additions & 9 deletions libs/portals/admin/regulations-admin/src/components/EditBasics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,16 +188,30 @@ export const EditBasics = () => {
<AlertMessage
type="default"
title="Uppfæra texta"
message={updateText}
action={
<Button
icon="reload"
onClick={() => setIsModalVisible(true)}
variant="text"
size="small"
message={
<Box
display="flex"
justifyContent="center"
flexDirection="row"
>
Uppfæra
</Button>
<Text variant="small">{updateText}</Text>
<Box
display="flex"
alignItems="center"
justifyContent="center"
height="full"
flexShrink={0}
>
<Button
icon="reload"
onClick={() => setIsModalVisible(true)}
variant="text"
size="small"
>
Uppfæra
</Button>
</Box>
</Box>
}
/>
</Box>
Expand Down

0 comments on commit 2dd6e46

Please sign in to comment.