mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-24 19:00:16 -04:00
fix(client): pre code having extra spaces when code elements are stacked (#49343)
Co-authored-by: hbar1st <hanaab@gmail.com>
This commit is contained in:
@@ -130,6 +130,12 @@ sections that need to stay left to right
|
||||
unicode-bidi: isolate;
|
||||
}
|
||||
|
||||
/* bootstrap display block breaks the code elements when they are stacked on top of each other to sort this, we remove it for display: grid */
|
||||
|
||||
[dir='rtl'] pre[class*='language-']:has(code) {
|
||||
display: grid;
|
||||
}
|
||||
|
||||
[dir='rtl'] .description-container,
|
||||
[dir='rtl'] .action-row-container,
|
||||
[dir='rtl']
|
||||
|
||||
Reference in New Issue
Block a user