Refactor AppContent and NoLoginView styles for improved layout: Adjust flex properties and dimensions to enhance responsiveness and ensure consistent spacing across components.
This commit is contained in:
@@ -38,8 +38,16 @@
|
|||||||
.app-content__inner {
|
.app-content__inner {
|
||||||
max-width: var(--shell-max-width);
|
max-width: var(--shell-max-width);
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
|
height: 100%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 14px 18px 12px;
|
padding: 14px 18px 12px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.app-content__inner > :last-child {
|
||||||
|
flex: 1 1 auto;
|
||||||
|
min-height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 960px) {
|
@media (max-width: 960px) {
|
||||||
|
|||||||
@@ -182,8 +182,7 @@ export default {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
gap: 1.4rem;
|
gap: 1.4rem;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
flex: 1 1 auto;
|
||||||
flex: 1;
|
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
@@ -216,7 +215,6 @@ export default {
|
|||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
flex: 1 1 auto;
|
flex: 1 1 auto;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
height: 100%;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user