fix direction in RTL language (#615)

Co-authored-by: Felipe Martin <812088+fmartingr@users.noreply.github.com>
This commit is contained in:
Monirzadeh 2023-06-11 22:48:12 +03:30 committed by GitHub
parent 85534b62f8
commit a4b92504b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -27,7 +27,7 @@
<div id="content-scene" :class="{night: appOptions.nightMode}">
<div id="header">
<p id="metadata" v-cloak>Added {{localtime()}}</p>
<p id="title">$$.Book.Title$$</p>
<p id="title" dir="auto">$$.Book.Title$$</p>
<div id="links">
<a href="$$.Book.URL$$" target="_blank" rel="noopener">View Original</a>
$$if .Book.HasArchive$$
@ -35,7 +35,7 @@
$$end$$
</div>
</div>
<div id="content" v-pre>
<div id="content" dir="auto" v-pre>
$$html .Book.HTML$$
</div>
</div>
@ -87,4 +87,4 @@
</script>
</body>
</html>
</html>

View file

@ -6,7 +6,7 @@ var template = `
</a>
<a class="bookmark-link" :href="mainURL" target="_blank" rel="noopener">
<span class="thumbnail" v-if="thumbnailVisible" :style="thumbnailStyleURL"></span>
<p class="title">{{title}}
<p class="title" dir="auto">{{title}}
<i v-if="hasContent" class="fas fa-file-alt"></i>
<i v-if="hasArchive" class="fas fa-archive"></i>
<i v-if="public" class="fas fa-eye"></i>
@ -114,4 +114,4 @@ export default {
this.$emit("update", this.eventItem);
}
}
}
}