Skip to content

Commit

Permalink
Merge pull request #23398 from storybookjs/kasper/whats-new-dark-mode
Browse files Browse the repository at this point in the history
Settings: Fix dark mode for what's new page
  • Loading branch information
shilman authored Jul 11, 2023
2 parents 55d32c3 + 9f98daa commit 455e874
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions code/ui/manager/src/settings/whats_new.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const Container = styled.div(({ theme }) => ({
borderColor: theme.appBorderColor,
padding: '8px 12px',
display: 'flex',
alignItems: 'center',
justifyContent: 'space-between',
}));

Expand All @@ -46,10 +47,14 @@ const ToggleNotificationButton = styled(IconButton)(({ theme }) => ({
margin: 0,
}));

const CopyButton = styled(Button)(() => ({
margin: 0,
padding: 0,
borderRadius: 0,
const CopyButton = styled(Button)(({ theme }) => ({
'&&': {
fontSize: `13px`,
color: theme.color.defaultText,
margin: 0,
padding: 0,
borderRadius: 0,
},
}));

export const WhatsNewFooter = ({
Expand Down Expand Up @@ -107,6 +112,7 @@ const Iframe = styled.iframe<{ isLoaded: boolean }>(
padding: 0,
width: '100%',
height: 'calc(100% - 80px)',
background: 'white',
},
({ isLoaded }) => ({ visibility: isLoaded ? 'visible' : 'hidden' })
);
Expand Down

0 comments on commit 455e874

Please sign in to comment.