Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

fix realtime search bar css

Francis Caoaf542569bf05
diff --git a/src/app/(main)/websites/[websiteId]/realtime/RealtimeLog.tsx b/src/app/(main)/websites/[websiteId]/realtime/RealtimeLog.tsx
index 8c3b56514..36835447c 100644
--- a/src/app/(main)/websites/[websiteId]/realtime/RealtimeLog.tsx
+++ b/src/app/(main)/websites/[websiteId]/realtime/RealtimeLog.tsx
@@ -181,15 +181,25 @@ export function RealtimeLog({ data }: { data: any }) {
{isPhone ? (
<>
<Row marginBottom="1">
- <SearchField value={search} onSearch={setSearch} />
+ <SearchField
+ value={search}
+ onSearch={setSearch}
+ placeholder={t(labels.search)}
+ className="w-full max-w-md"
+ />
</Row>
<Row>
<FilterButtons items={buttons} value={filter} onChange={setFilter} />
</Row>
</>
) : (
- <Row alignItems="center" justifyContent="space-between">
- <SearchField value={search} onSearch={setSearch} />
+ <Row alignItems="center" justifyContent="space-between" gap="4">
+ <SearchField
+ value={search}
+ onSearch={setSearch}
+ placeholder={t(labels.search)}
+ className="w-full max-w-md"
+ />
<FilterButtons items={buttons} value={filter} onChange={setFilter} />
</Row>
)}