fix: undo width change
This commit is contained in:
1 parent
d3fb704ad1
commit
faf9b5e9b5
1 file changed
+6
-5
@@ -153,11 +153,8 @@
|
|||||||
'content';
|
'content';
|
||||||
}
|
}
|
||||||
|
|
||||||
.content:not(.limit-width) {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
|
width: 100%;
|
||||||
display: grid;
|
display: grid;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
@@ -166,10 +163,14 @@
|
|||||||
grid-template-areas: 'main';
|
grid-template-areas: 'main';
|
||||||
justify-items: start;
|
justify-items: start;
|
||||||
}
|
}
|
||||||
|
.content > * {
|
||||||
|
width: 100%; /* Full width for immediate children */
|
||||||
|
padding: 0 1rem; /* Add some padding on smaller screens */
|
||||||
|
}
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
.content {
|
.content {
|
||||||
grid-template-columns: 15rem 2fr;
|
grid-template-columns: 14rem 2fr;
|
||||||
justify-items: end start;
|
justify-items: end start;
|
||||||
grid-template-areas: 'sidebar main';
|
grid-template-areas: 'sidebar main';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user