feat(checkout-page): add host mixin for payment panel components to improve layout consistency

This commit is contained in:
2026-07-12 19:22:06 +00:00
parent fe52519b72
commit 9b183dec36
4 changed files with 14 additions and 0 deletions

View File

@@ -1,3 +1,11 @@
@mixin host {
:host {
display: block;
width: 100%;
max-width: 290px;
}
}
@mixin card {
&__card {
width: 100%;

View File

@@ -1,5 +1,7 @@
@use 'payment-panel' as payment-panel;
@include payment-panel.host;
.payment-panel {
@include payment-panel.card;
}

View File

@@ -1,5 +1,7 @@
@use 'payment-panel' as payment-panel;
@include payment-panel.host;
.payment-panel {
@include payment-panel.card;
}

View File

@@ -1,5 +1,7 @@
@use 'payment-panel' as payment-panel;
@include payment-panel.host;
.payment-panel {
@include payment-panel.card;