Skip to content

Commit

Permalink
ADSDEV-1117 x-privacy-manager can't be a styled component
Browse files Browse the repository at this point in the history
  • Loading branch information
alevito committed Jun 22, 2022
1 parent 18b3614 commit 7755286
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 0 additions & 2 deletions components/x-privacy-manager/src/components/radio-btn.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { h } from '@financial-times/x-engine'

import './radio-btn.scss'

/**
* @param {{
* name: string,
Expand Down
2 changes: 0 additions & 2 deletions components/x-privacy-manager/src/privacy-manager.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import { RadioBtn } from './components/radio-btn'
import { withCustomActions } from './actions'
import * as utils from './utils'

import './privacy-manager.scss'

const defaultButtonText = {
allow: { label: 'Allow', text: 'See personalised adverts' },
block: { label: 'Block', text: 'Opt out of personalised adverts' },
Expand Down
2 changes: 2 additions & 0 deletions components/x-privacy-manager/src/privacy-manager.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
@import '@financial-times/o-spacing/main';
@import '@financial-times/o-typography/main';

@import './components/radio-btn';

%vertical-middle {
display: inline-block;
vertical-align: middle;
Expand Down
2 changes: 2 additions & 0 deletions components/x-privacy-manager/storybook/index.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import '../src/privacy-manager.scss'

export { LegislationCCPA } from './stories/legislation-ccpa'
export { LegislationGDPR } from './stories/legislation-gdpr'

Expand Down

0 comments on commit 7755286

Please sign in to comment.