adjust rtl implementation (#166)
This commit is contained in:
parent
0402fbde0c
commit
363685967d
|
@ -1191,6 +1191,20 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*********************************************
|
||||||
|
* RTL SUPPORT
|
||||||
|
*********************************************/
|
||||||
|
|
||||||
|
.reveal.rtl {
|
||||||
|
direction: rtl;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal.rtl pre,
|
||||||
|
.reveal.rtl code {
|
||||||
|
direction: ltr;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* SPEAKER NOTES
|
* SPEAKER NOTES
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -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 ) {
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue