fix(store-layout): ensure full width and minimum width for layout components
This commit is contained in:
parent
85529f40f2
commit
593580d648
|
|
@ -1,5 +1,7 @@
|
||||||
:host {
|
:host {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
width: 100%;
|
||||||
|
min-width: 0;
|
||||||
min-height: 100dvh;
|
min-height: 100dvh;
|
||||||
background: #f5f5f5;
|
background: #f5f5f5;
|
||||||
color: #202020;
|
color: #202020;
|
||||||
|
|
@ -7,6 +9,8 @@
|
||||||
|
|
||||||
.store-layout {
|
.store-layout {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
min-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.store-layout__cart-overlay {
|
.store-layout__cart-overlay {
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,15 @@
|
||||||
|
|
||||||
@import '../node_modules/bootstrap/scss/bootstrap';
|
@import '../node_modules/bootstrap/scss/bootstrap';
|
||||||
|
|
||||||
|
html,
|
||||||
|
body,
|
||||||
|
app-root {
|
||||||
|
width: 100%;
|
||||||
|
min-height: 100%;
|
||||||
|
margin: 0;
|
||||||
|
background: #f5f5f5;
|
||||||
|
}
|
||||||
|
|
||||||
:root,
|
:root,
|
||||||
app-root {
|
app-root {
|
||||||
--border-color: #dddddd;
|
--border-color: #dddddd;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue