summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-11-12 17:16:53 +0100
committerGravatar GitHub <noreply@github.com> 2019-11-12 17:16:53 +0100
commit932ac95396443813aec51aa7d35c937016243fb8 (patch)
tree96a7e5cdd32e1cf85b98d2fc52230d5fae7030e9
parent5761020a41b42430964f75ae94a806c67961e322 (diff)
parent52ca1887d784b5a002f3ff2f53df7d2d3a76e50d (diff)
Merge pull request #2656 from Frenzie/dir-auto
Automatic mostly-right RTL with dir="auto"
-rw-r--r--app/views/helpers/index/normal/entry_header.phtml2
-rw-r--r--app/views/index/normal.phtml2
-rw-r--r--app/views/index/reader.phtml2
3 files changed, 3 insertions, 3 deletions
diff --git a/app/views/helpers/index/normal/entry_header.phtml b/app/views/helpers/index/normal/entry_header.phtml
index d22cf5036..3d25301fa 100644
--- a/app/views/helpers/index/normal/entry_header.phtml
+++ b/app/views/helpers/index/normal/entry_header.phtml
@@ -28,7 +28,7 @@
}
}
?><li class="item website"><a href="<?= _url('index', 'index', 'get', 'f_' . $this->feed->id()) ?>"><img class="favicon" src="<?= $this->feed->favicon() ?>" alt="✇" /> <span><?= $this->feed->name() ?></span></a></li>
- <li class="item title"><a target="_blank" rel="noreferrer" href="<?= $this->entry->link() ?>"><?= $this->entry->title() ?></a><?php
+ <li class="item title" dir="auto"><a target="_blank" rel="noreferrer" href="<?= $this->entry->link() ?>"><?= $this->entry->title() ?></a><?php
if ($topline_display_authors):
?><div class="item author"><?php
$authors = $this->entry->authors();
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