Skip to content

Commit

Permalink
Fix rtl for tooltip-illustrations, replace 'done' with next icon
Browse files Browse the repository at this point in the history
  • Loading branch information
bhousel committed Mar 24, 2017
1 parent 7432db7 commit 424ad63
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions css/80_app.css
Original file line number Diff line number Diff line change
Expand Up @@ -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%;
Expand Down
4 changes: 2 additions & 2 deletions modules/ui/intro/intro.js
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -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]);

Expand Down

0 comments on commit 424ad63

Please sign in to comment.