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
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
|
2
css/reveal.min.css
vendored
2
css/reveal.min.css
vendored
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 ) {
|
||||||
|
|
4
js/reveal.min.js
vendored
4
js/reveal.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user