Fix jumpy right position of selected items counter

The negative right margin counteracts the sticky footer being wider than
its containing column. This is only the case when it’s actually sticky.
This commit is contained in:
Chris Hill-Scott
2019-01-29 09:29:24 +00:00
parent f8f4c4efb0
commit 7f202b026f

View File

@@ -110,9 +110,14 @@
&-selected-counter {
position: absolute;
right: $gutter-half;
right: 0;
top: $gutter - 1px;
color: $secondary-text-colour;
.content-fixed & {
right: $gutter-half;
}
}
}