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

View file

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

View file

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