mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-18 17:33:43 +03:00
Theme: Fix text overlap in parallelograms when font is small
This uses pixels to set a padding because the positioning is done in pixels, so the overlap is static pixels, not related to the font size. Fixes #73
This commit is contained in:
parent
b68664c231
commit
b1cbcdb01b
|
@ -25,13 +25,14 @@
|
|||
top: 40px;
|
||||
left: 30px;
|
||||
z-index: 2;
|
||||
padding-right: 90px; // parallelograms overlap by about 70px, plus 20px for breathing space.
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
right: 30px;
|
||||
padding-left: 4rem;
|
||||
padding-left: 90px; // see above.
|
||||
}
|
||||
|
||||
&:before {
|
||||
|
|
Loading…
Reference in a new issue