feat: enhance store header layout for better responsiveness and add mobile menu functionality
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
:host {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
:host(.product-detail__cta) {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
@@ -11,10 +7,6 @@
|
||||
min-height: 40px;
|
||||
font-weight: 700;
|
||||
font-size: 15px;
|
||||
min-width: 216px;
|
||||
}
|
||||
|
||||
:host(.product-detail__cta) .btn {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
@@ -69,7 +69,8 @@
|
||||
color: var(--tenant-danger);
|
||||
}
|
||||
|
||||
.icon-btn--user {
|
||||
.icon-btn--user,
|
||||
.icon-btn--bars {
|
||||
i {
|
||||
width: 23px;
|
||||
height: 23px;
|
||||
|
||||
@@ -10,7 +10,8 @@ export type IconButtonVariant =
|
||||
| 'angle-down'
|
||||
| 'copy'
|
||||
| 'download'
|
||||
| 'share';
|
||||
| 'share'
|
||||
| 'bars';
|
||||
|
||||
@Component({
|
||||
selector: 'app-icon-button',
|
||||
@@ -38,6 +39,7 @@ export class IconButtonComponent {
|
||||
copy: 'fa-solid fa-copy',
|
||||
download: 'fa-solid fa-download',
|
||||
share: 'fa-solid fa-share-nodes',
|
||||
bars: 'fa-solid fa-bars',
|
||||
};
|
||||
return classes[this.variant()];
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user