Skip to content

Commit a643347

Browse files
committed
fix(theme/regression): code blocks not aligned properly in rtl layouts
1 parent c9b8928 commit a643347

File tree

1 file changed

+2
-0
lines changed
  • src/client/theme-default/styles/components

1 file changed

+2
-0
lines changed

src/client/theme-default/styles/components/vp-doc.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,8 @@
317317
padding: 20px 0;
318318
background: transparent;
319319
overflow-x: auto;
320+
/*rtl:ignore*/
321+
text-align: left;
320322
}
321323

322324
.vp-doc [class*='language-'] code {

0 commit comments

Comments
 (0)