Fix rtl for tooltip-illustrations, replace 'done' with next icon

This commit is contained in:
Bryan Housel
2017-03-24 10:02:52 -04:00
parent 7432db7848
commit 424ad63993
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -3673,6 +3673,10 @@ img.tile-removing {
margin-left: -20px;
margin-top: -10px;
}
[dir='rtl'] .tooltip-illustration {
margin-left: auto;
margin-right: -20px;
}
.huge-modal-button {
width: 100%;
+2 -2
View File
@@ -1,5 +1,5 @@
import * as d3 from 'd3';
import { t } from '../../util/locale';
import { t, textDirection } from '../../util/locale';
import { localNames } from './helper';
import { coreGraph } from '../../core/graph';
@@ -128,7 +128,7 @@ export function uiIntro(context) {
entered
.append('span')
.attr('class', 'status')
.text(' - ' + t('intro.done'));
.call(svgIcon((textDirection === 'rtl' ? '#icon-backward' : '#icon-forward'), 'inline'));
enter(chapters[0]);