You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The last element (we're using last-child) in a row doesn't have a margin-right for the gutter. We have classes like f-row_not-desktop/f-row__not-desktop that hides a cell or row in a viewport width. Using our current logic, they still count as elements when using last-child, hence the visual last-child still has a margin-right gutter.
The workaround is to make the last cell take up -1 space out of the grid. The problem is that the workaround possibly makes the alignment wrong. And is confusing.
The text was updated successfully, but these errors were encountered:
The last element (we're using
last-child
) in a row doesn't have amargin-right
for the gutter. We have classes likef-row_not-desktop/f-row__not-desktop
that hides a cell or row in a viewport width. Using our current logic, they still count as elements when using last-child, hence the visual last-child still has amargin-right
gutter.The workaround is to make the last cell take up -1 space out of the grid. The problem is that the workaround possibly makes the alignment wrong. And is confusing.
The text was updated successfully, but these errors were encountered: