Skip to content

Commit

Permalink
use background-color for list card header to visualize spacing better
Browse files Browse the repository at this point in the history
  • Loading branch information
mgunnerud committed Dec 8, 2023
1 parent a95fcf9 commit c7d0919
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Button, Card, Chip, Divider, Heading, Select } from '@digdir/design-system-react';
import { Button, Card, Chip, Heading, Select } from '@digdir/design-system-react';
import React from 'react';
import { FieldWrapper } from '../FieldWrapper/FieldWrapper';
import { PartyListResourceLink } from 'app-shared/types/ResourceAdm';
Expand Down Expand Up @@ -40,9 +40,10 @@ export const ResourcePartyListActions = ({
display: 'flex',
flexDirection: 'row',
justifyContent: 'space-between',
backgroundColor: '#e1e1e1',
}}
>
<Heading level={2} size='small'>
<Heading level={2} size='small' spacing>
{listItem.partyListName}
</Heading>
<Button
Expand All @@ -54,7 +55,6 @@ export const ResourcePartyListActions = ({
Fjern fra ressurs
</Button>
</Card.Header>
<Divider color='subtle' />
<Card.Content style={{ padding: '1rem 1.5rem' }}>
<FieldWrapper
label='Rettigheter'
Expand Down

0 comments on commit c7d0919

Please sign in to comment.