Skip to content

Commit

Permalink
refactor: update episode-ai-summary-placeholder (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
altaywtf authored Dec 17, 2023
1 parent a1d7194 commit 6d92c23
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions components/episode-ai-summary/episode-ai-summary-placeholder.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { PropsWithChildren } from 'react';

import { FAKE_EPISODE_SUMMARY } from '@/lib/fixtures/fake-episode-summary';
import { Flex } from '@radix-ui/themes';
import { Box, Flex } from '@radix-ui/themes';

import { CollapsiblePanel } from '../ui/collapsible-panel';

Expand All @@ -16,11 +16,22 @@ export function EpisodeAISummaryPlaceholder(props: PropsWithChildren) {
justify="center"
left="0"
position="absolute"
style={{ backdropFilter: 'blur(3px)', borderRadius: 10, zIndex: 1 }}
style={{
backdropFilter: 'blur(3px)',
zIndex: 1,
}}
top="0"
width="100%"
>
{props.children}
<Box
style={{
backgroundColor: 'var(--color-page-background)',
borderRadius: 'var(--radius-3)',
overflow: 'hidden',
}}
>
{props.children}
</Box>
</Flex>
</CollapsiblePanel>
);
Expand Down

0 comments on commit 6d92c23

Please sign in to comment.