A
A
Adam Sulumov2019-12-10 13:23:39
css
Adam Sulumov, 2019-12-10 13:23:39

Fixed block does not stretch to screen width on ipad. What is the problem?

There is a site: anatomyclub.su on which, when scrolling at the bottom, the cap sticks to the top of the screen.
The header runs the full width of the page.
5def713607c2b576566490.png
Absolutely on all devices and browsers everything is fine, except for the iPad. It doesn't matter which browser is safari or chrome, everywhere the header when scrolling down stretches to 100% of the screen width:
5def71b7c8e01738376895.jpeg
Tried:

.sticky.active{
width: 100%;
width: 100vw;
min-width: 100%;
min-width: 100vw;
right: 0
}

Nothing helps.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question