Last active
June 21, 2020 08:30
-
-
Save AmirHosseinKarimi/5d47e093da338643d0188eefea883c8b to your computer and use it in GitHub Desktop.
Improve Slack UI for Persian users
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==UserStyle== | |
@name Slack-Persian | |
@description Improve Slack UI for Persian users | |
@namespace github.com/AmirHosseinKarimi/Persian-Slack | |
@homepageURL https://github.com/AmirHosseinKarimi/Persian-Slack | |
@supportURL https://github.com/AmirHosseinKarimi/Persian-Slack/issues | |
@author Amir hossein Hossein Zadeh Karimi <amir.hossein7464@gmail.com> (https://github.com/AmirHosseinKarimi) | |
@license GPL2 | |
@version 0.0.2 | |
@preprocessor stylus | |
==/UserStyle== */ | |
@-moz-document domain("app.slack.com") { | |
.p-rich_text_block, | |
.ql-editor { | |
font-family: IRANSans, Vazir, Arial; | |
text-align: right; | |
} | |
.p-rich_text_section { | |
line-height: 1.7; | |
direction: rtl; | |
} | |
.c-message_kit__gutter { | |
flex-direction: row-reverse; | |
} | |
.c-message_kit__gutter__right { | |
text-align: right; | |
direction: rtl; | |
padding-right: 16px; | |
} | |
.c-message__actions { | |
right: initial; | |
left: 17px; | |
} | |
.c-mrkdwn__code { | |
direction: ltr; | |
text-align: left; | |
float: left; | |
} | |
.c-message_kit__attachments .c-mrkdwn__code { | |
direction: rtl; | |
text-align: right; | |
float: initial; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment