From d91cada12e1c471afd1154c3b28f89e6f6e258eb Mon Sep 17 00:00:00 2001 From: "plebeius.eth" Date: Sun, 17 Mar 2024 11:02:23 +0100 Subject: [PATCH] style(search bar): add .sol to placeholder --- src/components/post/comment-tools/mod-menu/mod-menu.module.css | 2 +- src/components/search-bar/search-bar.tsx | 2 +- src/views/submit-page/submit-page.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/post/comment-tools/mod-menu/mod-menu.module.css b/src/components/post/comment-tools/mod-menu/mod-menu.module.css index ac958dfc..b23edf01 100644 --- a/src/components/post/comment-tools/mod-menu/mod-menu.module.css +++ b/src/components/post/comment-tools/mod-menu/mod-menu.module.css @@ -60,6 +60,6 @@ @supports (-moz-appearance: none) { .banInput { - width: 3.5em; /* Adjust this width as needed */ + width: 3.5em; } } \ No newline at end of file diff --git a/src/components/search-bar/search-bar.tsx b/src/components/search-bar/search-bar.tsx index c3cfe76c..da9177e7 100644 --- a/src/components/search-bar/search-bar.tsx +++ b/src/components/search-bar/search-bar.tsx @@ -14,7 +14,7 @@ const SearchBar = ({ isFocused = false }: SearchBarProps) => { const navigate = useNavigate(); const { t } = useTranslation(); const [isInCommunitySearch, setIsInCommunitySearch] = useState(false); - const placeholder = isInCommunitySearch ? t('search') : `"community.eth" ${t('or')} "12D3KooW..."`; + const placeholder = isInCommunitySearch ? t('search') : `"community.eth/.sol" ${t('or')} "12D3KooW..."`; const [showExpando, setShowExpando] = useState(false); const handleInputFocus = () => { diff --git a/src/views/submit-page/submit-page.tsx b/src/views/submit-page/submit-page.tsx index b6607b53..3e9c9b0a 100644 --- a/src/views/submit-page/submit-page.tsx +++ b/src/views/submit-page/submit-page.tsx @@ -305,7 +305,7 @@ const Submit = () => { setIsInputAddressFocused(true)} onBlur={() => setTimeout(() => setIsInputAddressFocused(false), 100)} autoCorrect='off'