Add support for RTL content

This commit is contained in:
monirzadeh 2022-02-06 17:57:27 +03:30 committed by Jeremy Benoist
parent 485405190d
commit d38fe8d7af
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
6 changed files with 6 additions and 10 deletions

View file

@ -997,10 +997,6 @@ blockquote {
margin: 0;
}
#article h1 {
text-align: left;
}
#article h2,
#article h3,
#article h4 {

View file

@ -67,7 +67,7 @@
{% block messages %}{% endblock %}
<div id="content">
<div id="content" dir="auto">
{% block content %}{% endblock %}
</div>
</main>

View file

@ -8,7 +8,7 @@
<h1><span{% if entry.language is defined and entry.language is not null %} lang="{{ entry.getHTMLLanguage() }}"{% endif %}>{{ entry.title|e|default('entry.default_title'|trans)|raw }}</span> <a href="{{ path('edit', { 'id': entry.id }) }}" class="nostyle" title="{{ 'entry.view.edit_title'|trans }}">✎</a></h1>
</header>
<div id="article_toolbar">
<div id="article_toolbar" dir="auto">
<ul class="links">
<li class="topPosF"><a href="#top" title="{{ 'entry.view.left_menu.back_to_top'|trans }}" class="tool top icon icon-arrow-up-thick"><span>{{ 'entry.view.left_menu.set_as_read'|trans }}</span></a></li>
<li><a href="{{ entry.url|e }}" target="_blank" rel="noopener" title="{{ 'entry.view.original_article'|trans }} : {{ entry.title|e }}" class="tool link icon icon-link original"><span>{{ entry.domainName|removeWww }}</span></a></li>

View file

@ -259,7 +259,7 @@
<h1><span{% if entry.language is defined and entry.language is not null %} lang="{{ entry.getHTMLLanguage() }}"{% endif %}>{{ entry.title|striptags|default('entry.default_title'|trans)|raw }}</span> <a href="{{ path('edit', { 'id': entry.id }) }}" title="{{ 'entry.view.edit_title'|trans }}"><i class="material-icons grey-text">create</i></a></h1>
</header>
<aside>
<div class="tools grey-text">
<div class="tools grey-text" dir="auto">
<ul class="stats">
<li>
{% include "@WallabagCore/themes/material/Entry/_reading_time.html.twig" with {'entry': entry} only %}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long