Advertisement
artemsemkin

Rhye Grid Letters Overflow Fix

Jan 4th, 2021 (edited)
1,266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.45 KB | None | 0 0
  1. .elementor-widget-rhye-widget-portfolio-irregular-grid .grid .grid__item:last-of-type {
  2.   margin-bottom: calc(1 * (var(--distance-min-medium) * 1.2 * 1px));
  3. }
  4.  
  5. @media screen and (min-width: 320px) {
  6.   .elementor-widget-rhye-widget-portfolio-irregular-grid .grid .grid__item:last-of-type {
  7.     margin-bottom: calc(1 * (var(--distance-min-medium) * 1px + (var(--distance-max-medium) * 1.2 - var(--distance-min-medium)) * ((100vw - 320px) / 1600)));
  8.   }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement