Skip to content

Commit 862e436

Browse files
committed
frontend/SearchInput: Add spacing when in App
1 parent 9b29f77 commit 862e436

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontend/src/components/device/SearchInput.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { useTranslation } from "react-i18next";
22
import { Form, InputGroup } from "react-bootstrap";
33
import { Search, X } from "react-feather";
4+
import Median from "median-js-bridge";
45

56
interface SearchInputProps {
67
searchTerm: string;
@@ -16,7 +17,7 @@ export function SearchInput({ searchTerm, onSearchChange, placeholder }: SearchI
1617
};
1718

1819
return (
19-
<InputGroup className="mb-1">
20+
<InputGroup className={`mb-3 ${Median.isNativeApp() ? "mt-2" : ""}`}>
2021
<InputGroup.Text>
2122
<Search size={16} />
2223
</InputGroup.Text>

0 commit comments

Comments
 (0)