Skip to content

Commit

Permalink
PDF works in rtl
Browse files Browse the repository at this point in the history
  • Loading branch information
wincelau committed Sep 22, 2023
1 parent d3f4386 commit 76b1857
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function changeLanguage($lang, $f3) {
$f3->set('LANGUAGE', $lang);
}

$f3->set('TRANSLATION_LANGUAGE', _("en"));
$f3->set('TRANSLATION_LANGUAGE', _("en"));

$f3->route('GET /',
function($f3) {
Expand Down
2 changes: 1 addition & 1 deletion templates/metadata.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<p id="text_document_name" class="text-muted mb-2" style="text-overflow: ellipsis; white-space: nowrap; overflow: hidden;" title=""><i class="bi bi-files"></i> <span></span></p>
</div>
<div class="offcanvas-body bg-light" style="padding-bottom: 60px;">
<div id="container-pages">
<div id="container-pages" dir="auto">
</div>
</div>
<div class="position-absolute bg-white bottom-0 pb-2 ps-2 pe-2 w-100 border-top shadow-lg">
Expand Down
2 changes: 1 addition & 1 deletion templates/organization.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<div id="div-margin-top" style="height: 88px;" class="d-md-none"></div>
<div style="top: 62px;" class="w-100 position-absolute text-center text-muted opacity-50 d-md-none"><em><?php echo _("Touch a page to select it"); ?></em></div>
<div id="container-main">
<div id="container-pages" class="col-12 pt-1 vh-100 d-flex align-content-start flex-wrap position-relative" style="overflow-y: scroll; overflow-x: hidden;">
<div id="container-pages" class="col-12 pt-1 vh-100 d-flex align-content-start flex-wrap position-relative" style="overflow-y: scroll; overflow-x: hidden;" dir="auto">
</div>
</div>
<div id="container-btn-zoom" class="btn-group-vertical position-fixed" style="top: 6px; right: 368px;">
Expand Down
2 changes: 1 addition & 1 deletion templates/signature.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
</div>
<?php endif; ?>
<div style="height: 65px;" class="d-md-none"></div>
<div id="container-pages" class="col-12 pt-1 pb-1 text-center vh-100">
<div id="container-pages" class="col-12 pt-1 pb-1 text-center vh-100" dir="auto">
</div>
<div style="height: 55px;" class="d-md-none"></div>
<div class="offcanvas offcanvas-end show d-none d-md-block shadow-sm" data-bs-backdrop="false" data-bs-scroll="true" data-bs-keyboard="false" tabindex="-1" id="sidebarTools" aria-labelledby="sidebarToolsLabel">
Expand Down

0 comments on commit 76b1857

Please sign in to comment.