feat(mobile): adapt every page to phone widths
Continuous Integration / build_web (push) Failing after 0s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped
Continuous Integration / build_web (push) Failing after 0s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped
Compact headers and dialogs, two-column grids, responsive item heroes, player controls, settings tabs, login and server setup screens.
This commit is contained in:
1 parent
d80db29a02
commit
2e099ecafa
29 files changed
+996
-27
No files matched your search
@@ -93,3 +93,99 @@ $cardWidth: 18%;
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
.item-hero {
|
||||
height: auto;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
gap: 1rem;
|
||||
padding: 5.5rem 1rem 7.5rem;
|
||||
box-sizing: border-box;
|
||||
text-align: center;
|
||||
|
||||
&-image-container {
|
||||
width: min(46vw, 190px);
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
&-logo {
|
||||
max-width: 82vw;
|
||||
max-height: 5.5rem;
|
||||
margin: 0 auto 0.4em;
|
||||
object-position: center bottom;
|
||||
}
|
||||
|
||||
&-detail {
|
||||
align-items: center;
|
||||
gap: 0.6em;
|
||||
|
||||
.MuiStack-root {
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 0.6em 1em !important;
|
||||
}
|
||||
|
||||
.MuiTypography-h4 {
|
||||
margin-bottom: 0.5em !important;
|
||||
font-size: 1.35rem;
|
||||
}
|
||||
}
|
||||
|
||||
&-mediaInfo {
|
||||
height: 0.95em;
|
||||
}
|
||||
|
||||
&-buttons-container {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.9em;
|
||||
|
||||
> .flex {
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
}
|
||||
|
||||
&-backdrop-container {
|
||||
height: 70vh;
|
||||
}
|
||||
|
||||
.play-button {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 701px) and (max-width: 1000px) {
|
||||
.item-hero {
|
||||
height: auto;
|
||||
min-height: 75vh;
|
||||
grid-template-columns: 24% 1fr;
|
||||
padding-top: 4.5rem;
|
||||
box-sizing: border-box;
|
||||
|
||||
&-logo {
|
||||
max-height: 8rem;
|
||||
}
|
||||
|
||||
&-detail {
|
||||
.MuiStack-root {
|
||||
flex-wrap: wrap;
|
||||
gap: 0.6em 1.2em !important;
|
||||
}
|
||||
|
||||
.MuiTypography-h4 {
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
}
|
||||
|
||||
&-buttons-container {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user