From e993510cdcd1ccb25769597fe2b79bf86cc22cc5 Mon Sep 17 00:00:00 2001 From: TeamAbron Date: Tue, 21 Jan 2025 15:35:05 +0330 Subject: [PATCH] feature pin message / ui improvment --- .../common/messaging/bars/PinnedMessage.tsx | 37 +------------------ 1 file changed, 2 insertions(+), 35 deletions(-) diff --git a/src/components/common/messaging/bars/PinnedMessage.tsx b/src/components/common/messaging/bars/PinnedMessage.tsx index f3beb585..1e0fbf93 100644 --- a/src/components/common/messaging/bars/PinnedMessage.tsx +++ b/src/components/common/messaging/bars/PinnedMessage.tsx @@ -45,11 +45,9 @@ export const PinBar = styled.div<{ position: "top" | "bottom"; accent?: boolean ${(props) => props.position === "top" && css` - top: 10; + top: 0; animation: topBounce 1s cubic-bezier(0.2, 0.9, 0.5, 1.16) forwards; - - `} ${(props) => @@ -71,27 +69,14 @@ export const PinBar = styled.div<{ position: "top" | "bottom"; accent?: boolean isMobile ? css` width: 100%; - - - ` : isDesktop ? css` - - - - width: 40%; - ` + width: 40%;` : css` - - - width: 70%; ` } - - - right : 0px !important; height: auto; max-height: 600px; @@ -400,33 +385,15 @@ export default observer( }} style={{ display: 'flex', paddingTop: "5px" }} > - - //
- // <>. {" "} - // - //
) }