O
O
olchagmk2021-08-05 02:01:02
css
olchagmk, 2021-08-05 02:01:02

Why overflow: auto; trims the margin of the last block element in Safari?

Good afternoon! There is a site under development - alchagps.beget.tech/MNWeb
There are 2 blocks "WHAT WE DO:" and "STAGES OF WORK:" in each block there are 3 items (cards).
At 768 they become overflow: auto; and a scroll appears.
Here's the problem: On the screenshot, you can see that the block sticks to the right edge and does not show the margin; Even though it's there, it's got margin: 0 20px 0 0;
610b1c146b5ad377718022.jpeg
This problem only occurs in safari. Who knows how to fix it?
PS On the left side, everything is OK, the problem is only on the right side in both blocks.

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