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
@@ -108,12 +108,7 @@ function SearchPage() {
|
||||
handleClearCategories={() => setSelectedCategories([])}
|
||||
/>
|
||||
|
||||
<div
|
||||
className="search-page-content"
|
||||
style={{
|
||||
paddingTop: "4.4em",
|
||||
}}
|
||||
>
|
||||
<div className="search-page-content">
|
||||
{debouncedSearchTerm ? (
|
||||
<SearchResultsList
|
||||
categories={activeCategories}
|
||||
|
||||
@@ -61,6 +61,7 @@
|
||||
width: 100%;
|
||||
align-self: center;
|
||||
z-index: 1;
|
||||
padding-top: 4.4em;
|
||||
}
|
||||
|
||||
// Input Container adapted for the pill header
|
||||
@@ -192,3 +193,56 @@
|
||||
}
|
||||
|
||||
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.search-page .search-header {
|
||||
inset: 0.5em 0.5em auto 0.5em !important;
|
||||
width: auto !important;
|
||||
flex-wrap: wrap;
|
||||
border-radius: 22px;
|
||||
padding: 0.3em 0.5em !important;
|
||||
row-gap: 0.25em;
|
||||
|
||||
html.is-macos & {
|
||||
left: 76px !important;
|
||||
right: 0.5em !important;
|
||||
width: auto !important;
|
||||
/* The window traffic lights are already cleared by the offset. */
|
||||
padding-left: 0.5em !important;
|
||||
}
|
||||
|
||||
.library-header-center {
|
||||
order: 3;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.search-input-container {
|
||||
height: 42px;
|
||||
}
|
||||
|
||||
.search-category-select {
|
||||
display: none;
|
||||
}
|
||||
|
||||
> .flex.flex-row:last-child [aria-label="Избранное"] {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.search-page-content {
|
||||
padding: 8.4em 1rem 8rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@media (min-width: 701px) and (max-width: 900px) {
|
||||
.search-page .search-header {
|
||||
.search-category-select {
|
||||
display: block;
|
||||
}
|
||||
|
||||
> .flex.flex-row:last-child [aria-label="Избранное"] {
|
||||
display: inline-flex;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user