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:
Muhammed Mustafa
2023-02-18 20:18:54 +02:00
committed by GitHub
parent 59da395e20
commit c027bce6de

View File

@@ -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']