aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Frans de Jonge <fransdejonge@gmail.com> 2019-11-12 10:19:02 +0100
committerGravatar Frans de Jonge <fransdejonge@gmail.com> 2019-11-12 10:19:02 +0100
commitb6473890d053ceec3f3fb7750d2b681b79501e37 (patch)
treeedf5b685df21ee785f3aad59f9ece8bc36f77da6
parent874fce6656ce0a4fb144af672e8a31f1ec5f64f5 (diff)
Automatic mostly-right RTL with dir="auto"
See <https://github.com/FreshRSS/FreshRSS/issues/673#issuecomment-552802523>.
-rw-r--r--app/views/index/normal.phtml2
-rw-r--r--app/views/index/reader.phtml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/index/normal.phtml b/app/views/index/normal.phtml
index f556df201..23105df5c 100644
--- a/app/views/index/normal.phtml
+++ b/app/views/index/normal.phtml
@@ -64,7 +64,7 @@ if (!empty($this->entries)) {
$this->renderHelper('index/normal/entry_header');
- ?><div class="flux_content">
+ ?><div class="flux_content" dir="auto">
<div class="content <?= $content_width ?>">
<h1 class="title"><a target="_blank" rel="noreferrer" class="go_website" href="<?= $this->entry->link() ?>"><?= $this->entry->title() ?></a></h1>
<div class="author"><?php
diff --git a/app/views/index/reader.phtml b/app/views/index/reader.phtml
index bbb6bd22b..e935db4a8 100644
--- a/app/views/index/reader.phtml
+++ b/app/views/index/reader.phtml
@@ -17,7 +17,7 @@ if (!empty($this->entries)) {
continue;
}
?><div class="flux<?= !$item->isRead() ? ' not_read' : '' ?><?= $item->isFavorite() ? ' favorite' : '' ?>" id="flux_<?= $item->id() ?>">
- <div class="flux_content">
+ <div class="flux_content" dir="auto">
<div class="content <?= $content_width ?>">
<?php
$feed = FreshRSS_CategoryDAO::findFeed($this->categories, $item->feed()); //We most likely already have the feed object in cache