mirror of
https://github.com/plebbit/seedit.git
synced 2026-05-19 06:04:56 -04:00
style(search bar): add .sol to placeholder
This commit is contained in:
@@ -60,6 +60,6 @@
|
||||
|
||||
@supports (-moz-appearance: none) {
|
||||
.banInput {
|
||||
width: 3.5em; /* Adjust this width as needed */
|
||||
width: 3.5em;
|
||||
}
|
||||
}
|
||||
@@ -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 = () => {
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user