diff --git a/shared/editor/components/Embed.tsx b/shared/editor/components/Embed.tsx index 5774406df3..b0ab81c820 100644 --- a/shared/editor/components/Embed.tsx +++ b/shared/editor/components/Embed.tsx @@ -139,7 +139,6 @@ const FrameWrapper = styled.div` border-radius: 8px; user-select: none; max-width: 100%; - overflow: hidden; transition-property: width, max-height; transition-duration: 150ms; diff --git a/shared/editor/components/Frame.tsx b/shared/editor/components/Frame.tsx index 6cf7f68780..7a252d52ca 100644 --- a/shared/editor/components/Frame.tsx +++ b/shared/editor/components/Frame.tsx @@ -121,13 +121,13 @@ const Rounded = styled.div<{ }>` border: 1px solid ${(props) => (props.$border ? props.theme.embedBorder : "transparent")}; - border-radius: ${(props) => (props.$showBottomBar ? "6px 6px 0 0" : "6px")}; + border-radius: 6px; overflow: hidden; ${(props) => props.$showBottomBar && ` - margin-bottom: 28px; + padding-bottom: 28px; `} `; @@ -159,10 +159,6 @@ const Bar = styled.div` border-bottom-right-radius: 6px; user-select: none; height: 28px; - position: absolute; - bottom: 0; - left: 0; - right: 0; `; export default React.forwardRef((props, ref) => (