fix and update

This commit is contained in:
lendry
2026-06-29 21:36:32 +03:00
parent 8369abb023
commit 4cd75cb0b1
4 changed files with 65 additions and 18 deletions

View File

@@ -1699,7 +1699,7 @@ export function FamilyGroupView({ groupId }: { groupId: string }) {
>
{activeRoom ? (
<>
<div className="flex items-center justify-between gap-2 border-b border-[#dce3ec] bg-white px-3 py-3 sm:px-4">
<div className="flex items-center justify-between gap-2 border-b border-[#dce3ec] bg-white px-3 py-3 sm:px-4 lg:pr-48">
<div className="flex min-w-0 flex-1 items-center gap-2 sm:gap-3">
<button
type="button"
@@ -1776,38 +1776,38 @@ export function FamilyGroupView({ groupId }: { groupId: string }) {
<Button
size="sm"
variant="secondary"
className="h-9 w-9 rounded-xl p-0 sm:h-auto sm:w-auto sm:px-3"
className="h-9 w-9 shrink-0 rounded-xl p-0"
aria-label="Поиск по сообщениям"
onClick={() => {
setChatToolsTab('search');
setChatToolsOpen(true);
}}
>
<Search className="h-4 w-4" />
<Search className="h-4 w-4 shrink-0" />
</Button>
<Button
size="sm"
variant="secondary"
className="hidden h-9 w-9 rounded-xl p-0 sm:flex sm:h-auto sm:w-auto sm:px-3"
className="hidden h-9 w-9 shrink-0 rounded-xl p-0 sm:inline-flex"
aria-label="Перейти к дате"
onClick={() => {
setChatToolsTab('calendar');
setChatToolsOpen(true);
}}
>
<CalendarDays className="h-4 w-4" />
<CalendarDays className="h-4 w-4 shrink-0" />
</Button>
<Button
size="sm"
variant="secondary"
className="rounded-xl"
className="h-9 w-9 shrink-0 rounded-xl p-0"
aria-label="Медиа чата"
onClick={() => {
setChatToolsTab('media');
setChatToolsOpen(true);
}}
>
<ImageIcon className="h-4 w-4" />
<ImageIcon className="h-4 w-4 shrink-0" />
</Button>
</>
) : null}