dir=auto all the things

This commit is contained in:
Lim Chee Aun 2023-08-24 09:12:00 +08:00
parent de7248fbfd
commit 0792df1adb
3 changed files with 4 additions and 0 deletions

View file

@ -854,6 +854,7 @@ function Compose({
class="spoiler-text-field" class="spoiler-text-field"
lang={language} lang={language}
spellCheck="true" spellCheck="true"
dir="auto"
style={{ style={{
opacity: sensitive ? 1 : 0, opacity: sensitive ? 1 : 0,
pointerEvents: sensitive ? 'auto' : 'none', pointerEvents: sensitive ? 'auto' : 'none',
@ -1579,6 +1580,7 @@ function Poll({
placeholder={`Choice ${i + 1}`} placeholder={`Choice ${i + 1}`}
lang={lang} lang={lang}
spellCheck="true" spellCheck="true"
dir="auto"
onInput={(e) => { onInput={(e) => {
const { value } = e.target; const { value } = e.target;
options[i] = value; options[i] = value;

View file

@ -95,6 +95,7 @@ function ListAddEdit({ list, onClose }) {
name="title" name="title"
required required
disabled={uiState === 'loading'} disabled={uiState === 'loading'}
dir="auto"
/> />
</label> </label>
</div> </div>

View file

@ -402,6 +402,7 @@ const SearchForm = forwardRef((props, ref) => {
type="search" type="search"
// autofocus // autofocus
placeholder="Search" placeholder="Search"
dir="auto"
onSearch={(e) => { onSearch={(e) => {
if (!e.target.value) { if (!e.target.value) {
setSearchParams({}); setSearchParams({});