Make cart header stick to top of cart

This commit is contained in:
Matt-Yorkley
2020-06-12 10:58:25 +02:00
parent 886df0e87d
commit 2cc02d9711

View File

@@ -18,7 +18,11 @@
}
.cart-header {
background-color: $white;
border-bottom: 1px solid $grey-100;
padding: 1em;
position: sticky;
top: 0;
.title {
color: $grey-800;
@@ -68,7 +72,7 @@
background-color: $white;
td {
border-top: 1px solid $grey-100;
border-bottom: 1px solid $grey-100;
padding: 0.75em 1em 0.5em;
vertical-align: top;