Skip to content

Commit

Permalink
fix(DismissibleBanner): Resolve checkbox alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
m7kvqbe1 committed Apr 23, 2021
1 parent ca31e5f commit 69613a2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import React from 'react'
import { selectors } from '@royalnavy/design-tokens'
import styled from 'styled-components'

const { color, spacing } = selectors
const { color } = selectors

export const StyledLabel = styled.label`
color: ${color('neutral', '400')};
padding: ${spacing('1')} 0;
`
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import React from 'react'
import styled from 'styled-components'
import { selectors } from '@royalnavy/design-tokens'

const { spacing } = selectors

export const StyledOuterWrapper = styled.div`
display: inline-flex;
align-items: center;
flex-direction: row;
padding: ${spacing('2')} 0;
`

0 comments on commit 69613a2

Please sign in to comment.