style(search bar): add .sol to placeholder

This commit is contained in:
plebeius.eth
2024-03-17 11:02:23 +01:00
parent 3f780a54ba
commit d91cada12e
3 changed files with 3 additions and 3 deletions

View File

@@ -60,6 +60,6 @@
@supports (-moz-appearance: none) {
.banInput {
width: 3.5em; /* Adjust this width as needed */
width: 3.5em;
}
}

View File

@@ -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 = () => {

View File

@@ -305,7 +305,7 @@ const Submit = () => {
<input
className={`${styles.input} ${styles.inputCommunity}`}
type='text'
placeholder={`"community.eth" ${t('or')} "12D3KooW..."`}
placeholder={`"community.eth/.sol" ${t('or')} "12D3KooW..."`}
onFocus={() => setIsInputAddressFocused(true)}
onBlur={() => setTimeout(() => setIsInputAddressFocused(false), 100)}
autoCorrect='off'