mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 22:26:57 +01:00
dir=auto all the things
This commit is contained in:
parent
de7248fbfd
commit
0792df1adb
3 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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({});
|
||||||
|
|
Loading…
Reference in a new issue