Automatic mostly-right RTL with dir="auto"
@@ -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();
@@ -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
@@ -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">
<?php
$feed = FreshRSS_CategoryDAO::findFeed($this->categories, $item->feed()); //We most likely already have the feed object in cache