From eed52025ab88ec2fb749017ff59edc039d19cb06 Mon Sep 17 00:00:00 2001 From: David Mzareulyan Date: Sun, 25 Feb 2024 12:50:44 +0300 Subject: [PATCH] Align RTL texts to right in post bodies and user descriptions --- CHANGELOG.md | 3 +++ src/components/user-profile-head.module.scss | 4 ++++ styles/shared/post.scss | 4 ++++ 3 files changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a5dbdc50e..9a31291a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 User can disable drafts saving on the Settings / Privacy page. In this case, drafts will still work, but will not be saved to persistent storage and will be lost on tab close/reload. +### Changed +- RTL texts are now right-aligned in the post bodies and in the user + descriptions. ## [1.127.3] - 2024-02-14 ### Fixed diff --git a/src/components/user-profile-head.module.scss b/src/components/user-profile-head.module.scss index 7239bab57..b2a6730b3 100644 --- a/src/components/user-profile-head.module.scss +++ b/src/components/user-profile-head.module.scss @@ -102,6 +102,10 @@ $actions-padding: 0.75em; &:empty { display: none; } + + & :global(.Linkify) { + display: block; + } } .stats { diff --git a/styles/shared/post.scss b/styles/shared/post.scss index 3618fd80b..f767f3918 100644 --- a/styles/shared/post.scss +++ b/styles/shared/post.scss @@ -98,6 +98,10 @@ $post-line-height: rem(20px); } } + .Linkify { + display: block; + } + a { color: #000088; }