From 7da7bc8ef733f3cc01b2c132dda889a5e66a64ed Mon Sep 17 00:00:00 2001 From: trashtemp <96388163+trashtemp@users.noreply.github.com> Date: Tue, 11 Jan 2022 21:26:22 +0100 Subject: [PATCH] fix(discover): fixed border radius --- src/pages/discover/Discover.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/pages/discover/Discover.tsx b/src/pages/discover/Discover.tsx index c8398161..0109b397 100644 --- a/src/pages/discover/Discover.tsx +++ b/src/pages/discover/Discover.tsx @@ -38,8 +38,13 @@ const Container = styled.div` const Frame = styled.iframe<{ loaded: boolean }>` border: 0; - border-start-start-radius: 8px; - border-end-start-radius: 8px; + + ${() => + !isTouchscreenDevice && + css` + border-start-start-radius: 8px; + border-end-start-radius: 8px; + `} ${(props) => props.loaded