Skip to content

Commit

Permalink
styling tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
marhaupe committed Aug 4, 2024
1 parent a85d71c commit 6caae90
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export function App() {
onSearch={(query) => setFilter(query)}
/>
{logs.length > 0 ? (
<CardContent>
<CardContent className="overflow-scroll">
{logs.map((log) => (
<div
className="flex flex-row text-sm border-none"
Expand Down Expand Up @@ -127,7 +127,7 @@ function LogEntry({ log }: { log: Log }) {
};
return (
<>
<div className="w-32 text-slate-400 font-mono text-sm tracking-tighter select-none">
<div className="w-32 min-w-32 text-slate-400 font-mono text-sm tracking-tighter select-none">
{new Date(log.timestamp).toISOString().split("T")[1]}
</div>
<div className="whitespace-pre font-mono text-sm tracking-tight">
Expand Down
6 changes: 3 additions & 3 deletions packages/frontend/src/SearchBar.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Button } from "@/components/ui/button";
import { PlayIcon } from "lucide-react";
import { TextSearchIcon } from "lucide-react";
import { forwardRef, useImperativeHandle } from "react";
import { useForm } from "react-hook-form";

Expand Down Expand Up @@ -29,7 +29,7 @@ export const SearchQueryBuilder = forwardRef(function SearchQueryBuilder(
>
<input
{...register("query")}
placeholder="Query"
placeholder="Search..."
className="px-3 py-2 flex-grow file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus:outline-none"
/>
<Button
Expand All @@ -38,7 +38,7 @@ export const SearchQueryBuilder = forwardRef(function SearchQueryBuilder(
variant="outline"
type="submit"
>
<PlayIcon className="size-6" />
<TextSearchIcon className="size-6" />
</Button>
</form>
</div>
Expand Down

0 comments on commit 6caae90

Please sign in to comment.