From 225774dff1e426648767d65fb26301ee9b10969f Mon Sep 17 00:00:00 2001 From: ankitrewar11 Date: Thu, 20 Aug 2026 00:11:38 +0530 Subject: [PATCH] fix(subscribe): prevent 'Join the Layer5 community. Subscribe.' heading from wrapping Signed-off-by: ankitrewar11 --- src/sections/subscribe/subscribe.style.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/sections/subscribe/subscribe.style.js b/src/sections/subscribe/subscribe.style.js index 657bfaf31aae70..ca225fa8135910 100644 --- a/src/sections/subscribe/subscribe.style.js +++ b/src/sections/subscribe/subscribe.style.js @@ -11,10 +11,11 @@ const SubscribeWrapper = styled.div` h2{ font-weight: 600; - font-size:1.875rem; + font-size: clamp(1.25rem, 1.9vw, 1.875rem); margin:1.25rem 0; color:${props => props.theme.text}; transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); + white-space: nowrap; } h2 span{ color:${props => props.theme.primaryColor}; @@ -58,6 +59,7 @@ const SubscribeWrapper = styled.div` h2{ font-size:1.75rem; margin: 1.5625rem 0; + white-space: normal; } input{ width:90%;