Cleanup shop

This commit is contained in:
2021-11-07 11:59:14 +01:00
parent f58db34e41
commit a3ead40a6d
2 changed files with 4 additions and 29 deletions

View File

@@ -105,7 +105,8 @@
</dl> </dl>
<ButtonCart /> <ButtonCart />
<div class="notifications">
<div class="shop-location__notifications">
<NotificationCart /> <NotificationCart />
</div> </div>
</nav> </nav>

View File

@@ -87,34 +87,8 @@
} }
} }
// Cart // Notifications
&__cart { &__notifications {
position: relative;
@include bp (sm) {
display: flex;
margin-left: auto;
}
.quantity {
position: absolute;
top: 50%;
left: -12px;
transform: translateY(-50%);
display: flex;
align-items: center;
justify-content: center;
width: 22px;
height: 22px;
font-size: rem(11px);
font-weight: 600;
color: #fff;
background-color: $color-secondary;
border-radius: 100%;
}
}
.notifications {
position: absolute; position: absolute;
z-index: 100; z-index: 100;
top: 72px; top: 72px;