mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
fix:rtl display in Arabic/Persian language
fix goldendict#1565
This commit is contained in:
parent
408f994779
commit
b23e57d08c
|
@ -141,7 +141,7 @@ h3 {
|
|||
|
||||
/* The first headword in a (possibly) multi-headword DSL article */
|
||||
.gdarticlebody > div:first-child .dsl_headwords,
|
||||
.gdarticlebody > h3:first-child {
|
||||
{
|
||||
margin-top: -3px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
|
|
@ -155,7 +155,6 @@ a:hover
|
|||
|
||||
/* The first headword in a (possibly) multi-headword DSL article */
|
||||
.gdarticlebody > div:first-child .dsl_headwords,
|
||||
.gdarticlebody > h3:first-child
|
||||
{
|
||||
margin-top: -3px;
|
||||
display: inline-block;
|
||||
|
|
|
@ -9,6 +9,10 @@ body
|
|||
font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;
|
||||
}
|
||||
|
||||
h1,h2,h3,h4,h5,h6 {
|
||||
unicode-bidi: plaintext;
|
||||
text-align: start;
|
||||
}
|
||||
/* This stylesheet is used to highligh current selection when doing a search.
|
||||
It changes the default selection color (e.g. blue under Windows, orange under Ubuntu) */
|
||||
|
||||
|
@ -132,6 +136,8 @@ pre
|
|||
/* StarDict type 'h' -- Html content. We don't normally do anything here. */
|
||||
div.sdct_h
|
||||
{
|
||||
unicode-bidi: plaintext;
|
||||
text-align: start;
|
||||
}
|
||||
|
||||
.sdict_h_wav img
|
||||
|
|
Loading…
Reference in a new issue