Merge pull request #5599 from Monirzadeh/rtl

Add support for RTL content
This commit is contained in:
Jérémy Benoist 2022-02-08 16:02:20 +01:00 committed by GitHub
commit 33fcd81bc0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 7 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 %}