writing mode: bidi exceptions

This commit is contained in:
Yhëhtozr 2022-12-18 18:21:01 +09:00
parent d3652a649b
commit 5ab3b678da
3 changed files with 25 additions and 0 deletions

View File

@ -844,3 +844,26 @@ option {
.fade-leave-active {
opacity: 0;
}
// Those containers are not affected by
// external directionality.
.site-name,
.status-username,
.account-name,
.shortName,
.userNameFull,
.userName,
.serverName,
.StatusBody > .body,
.user-card-bio,
.search-result .hashtag a,
.panel-body::before,
.form-control#username:not(:placeholder-shown), .form-control#password,
.emoji-search > .form-control,
.form-post-subject, .form-post-subject + .emoji-picker-icon, .main-input,
.name-changer#username, textarea.bio, .profile-fields input:not(:placeholder-shown),
.name-changer#username + .emoji-picker-icon, textarea.bio + .emoji-picker-icon,
input[type=email], input[type=password], input[type=number] {
unicode-bidi: isolate;
direction: initial;
}

View File

@ -21,6 +21,7 @@
:id="name + '-t'"
class="textColor unstyled"
type="text"
dir="ltr"
:value="modelValue || fallback"
:disabled="!present || disabled"
@input="$emit('update:modelValue', $event.target.value)"

View File

@ -43,6 +43,7 @@
v-model="family"
class="custom-font"
type="text"
dir="ltr"
>
</div>
</template>