artemsemkin

Rhye Grid Letters Overflow Fix

Jan 4th, 2021 (edited)
947
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data