adjust rtl implementation (#166)

edit
Hakim El Hattab 2012-11-18 12:10:16 -05:00
parent 0402fbde0c
commit 363685967d
4 changed files with 18 additions and 4 deletions

View File

@ -1191,6 +1191,20 @@ body {
} }
/*********************************************
* RTL SUPPORT
*********************************************/
.reveal.rtl {
direction: rtl;
}
.reveal.rtl pre,
.reveal.rtl code {
direction: ltr;
}
/********************************************* /*********************************************
* SPEAKER NOTES * SPEAKER NOTES
*********************************************/ *********************************************/

2
css/reveal.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -318,7 +318,7 @@ var Reveal = (function(){
} }
if( config.rtl ) { if( config.rtl ) {
dom.slides.style.direction = 'rtl'; dom.wrapper.classList.add( 'rtl' );
} }
if( config.center ) { if( config.center ) {

4
js/reveal.min.js vendored

File diff suppressed because one or more lines are too long