0

I have deployed my angular application successfully. But the problem is it is working fine for all devices except mobile.

When it comes to mobile devices the bottom spacing is not applied for chrome, firefox, or edge. And works fine in the same mobile devices 'Operamini' browser.

But also the important thing is it works fine for some mobiles in all browsers.

I don't know how to fix this issue. So kindly help me fix this problem.

The deployed application in chrome - mobile device ( mobile -device ) :

enter image description here

The same website in operaminini browser in same device ( below image ):

enter image description here

I want to fix it atleasr for chrome.Kindly help me.

NOTE : This is looking correct in developer-tools

2
  • Can you share your html and css(styles)? Commented Oct 28, 2022 at 7:46
  • Thanks for your response. I am using the ngx-admin theme in my Angular application . Commented Oct 28, 2022 at 8:38

1 Answer 1

0

You can use the @media screens :

@media screen and (max-width: 576px) {
    .mob-img {
        max-width: initial; 
        height: 230px;
        max-height: 384px;

    }
}
Sign up to request clarification or add additional context in comments.

1 Comment

Thanks for your response. As I am using the ngx-admin template for my application, this issue comes for the whole application not for one page. Also sometimes, when i reload the application, this padding works as expected.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.