Skip to content

Commit

Permalink
Fixed issue #15030: Css and font issue, Arabic is not displayed properly
Browse files Browse the repository at this point in the history
Dev: assets for adminsidepanel module need to be compiled
  • Loading branch information
dominikvitt committed Oct 4, 2019
1 parent 30b2532 commit f8b017b
Showing 1 changed file with 6 additions and 2 deletions.
Expand Up @@ -283,12 +283,16 @@ export default {
@click.stop="openQuestionGroup(questiongroup)"
>
<span
class="question_text_ellipsize pull-left"
:class="$store.getters.isRTL ? 'question_text_ellipsize pull-right' : 'question_text_ellipsize pull-left'"
:style="{ 'max-width': itemWidth }"
>
{{questiongroup.group_name}}
</span>
<span class="badge pull-right ls-space margin right-5">{{questiongroup.questions.length}}</span>
<span
:class="$store.getters.isRTL ? 'badge ls-space margin right-5 pull-left' : 'badge ls-space margin right-5 pull-right'"
>
{{questiongroup.questions.length}}
</span>
</a>
<i class="fa bigIcons" v-bind:class="isActive(questiongroup.gid) ? 'fa-caret-up' : 'fa-caret-down'" @click.prevent="toggleActivation(questiongroup.gid)">&nbsp;</i>
</div>
Expand Down

1 comment on commit f8b017b

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can include

'bootstrap-rtl'=>array( /* Adding boostrap rtl package */
'devBaseUrl' => 'assets/packages/bootstrap/',
'basePath' => 'core.bootstrap',
'css'=> array(
'bootstrap-rtl.css',
),
'depends' => array(
'bootstrap',
)
),

for admin part too ?

then no need pull-right in plave of pull-left etc …

.dir-rtl .pull-right {
float: left !important;
}
.dir-rtl .pull-left {
float: right !important;
}

And whole are really RTL (not only the right/left part)

Please sign in to comment.