Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion code/core/src/components/components/Tabs/EmptyTabContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ const Title = styled.div(({ theme }) => ({
color: theme.color.defaultText,
}));

const Footer = styled.div(({ theme }) => ({
fontSize: theme.typography.size.s2 - 1,
}));

const Description = styled.div(({ theme }) => ({
fontWeight: theme.typography.weight.regular,
fontSize: theme.typography.size.s2 - 1,
Expand All @@ -47,7 +51,7 @@ export const EmptyTabContent = ({ title, description, footer }: Props) => {
<Title>{title}</Title>
{description && <Description>{description}</Description>}
</Content>
{footer}
{footer && <Footer>{footer}</Footer>}
</Wrapper>
);
};
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ export interface AddonPanelProps {
hasScrollbar?: boolean;
}

const Div = styled.div({
const Div = styled.div(({ theme }) => ({
fontSize: theme.typography.size.s2 - 1,
height: '100%',
});
}));

export const AddonPanel = ({ active, children, hasScrollbar = true }: AddonPanelProps) => {
return (
Expand Down
Loading