You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BUG: codeblock on RTL locale puts copy button on the left while code is also on the left #8792
I have read the console error message carefully (if applicable).
Description
codeblock on RTL locale puts copy button on the left while code is also on the left.
This is my current hack to fix this
/*RTL hack! the copy botton of CodeBlock is set incorrectly, thiis is how to fix it*//*for dev*/.buttonGroup_node_modules-\@docusaurus-theme-classic-lib-theme-CodeBlock-Content-styles-module{left:0.5rem!important;right: unset !important;}/*for prod*/.buttonGroup__atx{left:0.5rem!important;right: unset !important;}
Fixed by #8803. @Vishruta-Patil next time, please read the PR template carefully. There's a checklist item that asks you to fill in the issue number you are fixing.
Activity
Vishruta-Patil commentedon Mar 20, 2023
@Josh-Cena Can I work on this issue ?
Josh-Cena commentedon Mar 20, 2023
@Vishruta-Patil Yes, you can directly send a PR
Vishruta-Patil commentedon Mar 21, 2023
@Josh-Cena I have setup the project locally but can you tell me where can I find RTL locale with the code block.
Josh-Cena commentedon Mar 21, 2023
You need to start the website with an RTL locale, such as
faorar. You need to modify the config file and then runstartwith--locale ar.Josh-Cena commentedon Mar 23, 2023
Fixed by #8803. @Vishruta-Patil next time, please read the PR template carefully. There's a checklist item that asks you to fill in the issue number you are fixing.