Makssshow Posted June 13, 2021 Posted June 13, 2021 Hi! Here is a problem. This block moves down because text has 30% width and it has two lines. But script loads faster than text goes on the second line and the block moves down. I can't use <br/> because on mobile it will be other. How to fix it? See the Pen qBrQXVY by makssshow (@makssshow) on CodePen.
Makssshow Posted June 13, 2021 Author Posted June 13, 2021 4 minutes ago, OSUblake said: top and bottom margin There is no bottom margin. It doesn't help. The problem is in the number of lines
OSUblake Posted June 14, 2021 Posted June 14, 2021 Does this not fix the issue? See the Pen MWpzOmM by GreenSock (@GreenSock) on CodePen. 1
Makssshow Posted June 14, 2021 Author Posted June 14, 2021 6 hours ago, OSUblake said: Does this not fix the issue? No, it is still broken(
Solution Makssshow Posted June 15, 2021 Author Solution Posted June 15, 2021 I fixed it by using default font with letters size like in the custom. The problem was in the font. Next line started because the custom font has big letter size and it loades latter then js. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now