Merge pull request #5704 from iriman/rtl-issues--iriman

fix for some rtl issues
This commit is contained in:
Bryan Housel
2019-01-13 13:51:47 -05:00
committed by GitHub
2 changed files with 8 additions and 2 deletions

View File

@@ -2275,6 +2275,12 @@ div.combobox {
padding-left: 10px;
}
[dir='rtl'] .raw-member-editor .member-row .member-entity-name,
[dir='rtl'] .raw-membership-editor .member-row .member-entity-name {
padding-left:0;
padding-right: 10px;
}
.form-field-input-member > input.member-role {
border-radius: 0 0 0 4px;
}

View File

@@ -4,7 +4,7 @@ import {
} from 'd3-selection';
import marked from 'marked';
import { t } from '../util/locale';
import { t, textDirection } from '../util/locale';
import { svgIcon } from '../svg';
import { icon } from './intro/helper';
@@ -197,7 +197,7 @@ export function uiFieldHelp(context, fieldName) {
titleEnter
.append('h2')
.attr('class', 'fl')
.attr('class', ((textDirection === 'rtl') ? 'fr' : 'fl'))
.text(t('help.field.' + fieldName + '.title'));
titleEnter