mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-22 01:05:34 +03:00
Fixes for logical properties
This commit is contained in:
parent
c7db204d5b
commit
c9c49d9a93
4 changed files with 13 additions and 2 deletions
|
@ -59,7 +59,11 @@
|
||||||
"postcss": {
|
"postcss": {
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"postcss-dark-theme-class": {},
|
"postcss-dark-theme-class": {},
|
||||||
"postcss-preset-env": {}
|
"postcss-preset-env": {
|
||||||
|
"features": {
|
||||||
|
"logical-properties-and-values": false
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
|
|
|
@ -881,6 +881,7 @@ function Status({
|
||||||
<div
|
<div
|
||||||
class="content"
|
class="content"
|
||||||
lang={language}
|
lang={language}
|
||||||
|
dir="auto"
|
||||||
ref={spoilerContentRef}
|
ref={spoilerContentRef}
|
||||||
data-read-more={readMoreText}
|
data-read-more={readMoreText}
|
||||||
>
|
>
|
||||||
|
@ -907,6 +908,7 @@ function Status({
|
||||||
<div
|
<div
|
||||||
class="content"
|
class="content"
|
||||||
lang={language}
|
lang={language}
|
||||||
|
dir="auto"
|
||||||
ref={contentRef}
|
ref={contentRef}
|
||||||
data-read-more={readMoreText}
|
data-read-more={readMoreText}
|
||||||
onClick={handleContentLinks({ mentions, instance, previewMode })}
|
onClick={handleContentLinks({ mentions, instance, previewMode })}
|
||||||
|
@ -1389,6 +1391,7 @@ function Poll({
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
lang={lang}
|
lang={lang}
|
||||||
|
dir="auto"
|
||||||
class={`poll ${readOnly ? 'read-only' : ''} ${
|
class={`poll ${readOnly ? 'read-only' : ''} ${
|
||||||
uiState === 'loading' ? 'loading' : ''
|
uiState === 'loading' ? 'loading' : ''
|
||||||
}`}
|
}`}
|
||||||
|
|
|
@ -139,7 +139,7 @@ function TranslationBlock({
|
||||||
) : (
|
) : (
|
||||||
!!translatedContent && (
|
!!translatedContent && (
|
||||||
<>
|
<>
|
||||||
<output class="translated-content" lang={targetLang}>
|
<output class="translated-content" lang={targetLang} dir="auto">
|
||||||
{translatedContent}
|
{translatedContent}
|
||||||
</output>
|
</output>
|
||||||
{!!pronunciationContent && (
|
{!!pronunciationContent && (
|
||||||
|
|
|
@ -90,6 +90,10 @@
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[dir] {
|
||||||
|
text-align: start;
|
||||||
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
text-size-adjust: 100%;
|
text-size-adjust: 100%;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue