mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-16 21:06:35 +08: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:
parent
59da395e20
commit
c027bce6de
@ -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']
|
||||
|
||||
Loading…
Reference in New Issue
Block a user