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

Compact headers and dialogs, two-column grids, responsive item heroes, player controls, settings tabs, login and server setup screens.
This commit is contained in:
1xDed committed 2026-12-01 11:32:01 +03:00
1 parent d80db29a02
commit 2e099ecafa
29 files changed
+996 -27

No files matched your search

+31 -1
View File
@@ -267,7 +267,22 @@ body.has-player-bar .home-sections {
}
.home-header {
padding: 1rem 1.1rem;
padding: 0.55rem 0.8rem 1rem;
.home-header-groups,
.home-header-cast {
display: none;
}
&-logo {
font-size: 1.4rem;
gap: 0.35rem;
&-mark {
width: 1.7rem;
height: 1.4rem;
}
}
.MuiIconButton-root {
width: 34px;
@@ -275,6 +290,21 @@ body.has-player-bar .home-sections {
}
}
.cinema-trending {
padding-left: 1rem;
padding-right: 1rem;
}
.cinema-trending-head {
h3 {
white-space: nowrap;
}
.cinema-dots {
display: none;
}
}
.home-sections {
padding: 2rem 1.1rem 8rem;
}
+4 -1
View File
@@ -104,6 +104,7 @@ const HomeHeader = ({ libraries, onNewAndPopular }: HomeHeaderProps) => {
<div className="home-header-right">
<IconButton
className="home-header-groups"
aria-label="Смотреть вместе"
title="Смотреть вместе"
onClick={openSyncPlayDialog}
@@ -113,7 +114,9 @@ const HomeHeader = ({ libraries, onNewAndPopular }: HomeHeaderProps) => {
<IconButton aria-label="Поиск" onClick={toggleSearchDialog}>
<span className="material-symbols-rounded">search</span>
</IconButton>
<CastButton />
<span className="home-header-cast">
<CastButton />
</span>
<IconButton
aria-label="Избранное"
onClick={() => navigate({ to: "/favorite" })}
+2 -1
View File
@@ -267,7 +267,8 @@ function HomeContent({ api, user }: { api: Api; user: UserDto }) {
</div>
}
>
{upNextItems.isSuccess && upNextItems.data?.TotalRecordCount && (
{upNextItems.isSuccess &&
(upNextItems.data?.TotalRecordCount ?? 0) > 0 && (
<CardScroller displayCards={4} title="Далее">
{upNextItems.data?.Items?.map((item) => {
return (