diff --git a/components/FeatureMoblieView.tsx b/components/FeatureMoblieView.tsx
index 0f21be0c..36957992 100644
--- a/components/FeatureMoblieView.tsx
+++ b/components/FeatureMoblieView.tsx
@@ -16,7 +16,7 @@ import ClipboardJS from 'clipboard';
const TextNotify=( {showCopy }: { showCopy: boolean })=>{
return(
<>
-
Try Keploy Locally
+ Try Keploy Locally
(null);
const codeRef = useRef(null);
const copyButtonRef = useRef(null);
-
+ const [height,setHeight]=useState(' ')
const[showCopy,setCopy]=useState(false)
useEffect(()=>{
@@ -49,8 +49,11 @@ export default function FeaturesMobileView() {
},[showCopy])
const heightFix = () => {
- if (tabs.current && tabs.current.parentElement)
+ if (tabs.current && tabs.current.parentElement){
tabs.current.parentElement.style.height = `${tabs.current.clientHeight + 20}px`;
+ let h=`${tabs.current.clientHeight-20}px`
+ setHeight(h)
+ }
};
useEffect(() => {
@@ -311,7 +314,8 @@ export default function FeaturesMobileView() {
autoplay
loop
src={deDuplication}
- style={{ height: "50vh", width: "90%" }}
+ style={{ height: height }}
+ className='md:w-11/12 w-[90vw] '
keepLastFrame={true}
>