summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/gallery.common.css5
-rw-r--r--modules/comment/views/comments.html.php2
2 files changed, 6 insertions, 1 deletions
diff --git a/lib/gallery.common.css b/lib/gallery.common.css
index 553eb496..98b4ee40 100644
--- a/lib/gallery.common.css
+++ b/lib/gallery.common.css
@@ -743,6 +743,11 @@ div#g-action-status {
margin-right: .4em;
}
+.rtl #g-admin-comment-button {
+ right: inherit;
+ left: 0;
+}
+
/* RTL Superfish ~~~~~~~~~~~~~~~~~~~~~~~~~ */
.rtl .sf-menu a {
diff --git a/modules/comment/views/comments.html.php b/modules/comment/views/comments.html.php
index 58ff1765..8e2a9e51 100644
--- a/modules/comment/views/comments.html.php
+++ b/modules/comment/views/comments.html.php
@@ -1,6 +1,6 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<a href="<?= url::site("form/add/comments/{$item->id}") ?>" id="g-admin-comment-button"
- class="g-button ui-corner-all ui-icon-left ui-state-default right">
+ class="g-button ui-corner-all ui-icon-left ui-state-default">
<span class="ui-icon ui-icon-comment"></span>
<?= t("Add a comment") ?>
</a>