Quellcode durchsuchen

Fixes for RTL bugs.

Caroline Moore vor 6 Jahren
Ursprung
Commit
44afecc406
2 geänderte Dateien mit 10 neuen und 1 gelöschten Zeilen
  1. 6 1
      libretto/css/blocks.css
  2. 4 0
      libretto/rtl.css

+ 6 - 1
libretto/css/blocks.css

@@ -129,6 +129,10 @@ p.has-drop-cap:not(:focus)::first-letter {
 	border: 0;
 }
 
+.rtl .wp-block-quote cite {
+	float: none;
+}
+
 /* Audio */
 
 .wp-block-audio audio {
@@ -251,7 +255,8 @@ p.has-drop-cap:not(:focus)::first-letter {
 	padding-right: 1.5em;
 }
 
-.rtl .wp-block-pullquote {
+.rtl .wp-block-pullquote cite:before {
+	float: none;
 }
 
 .wp-block-pullquote p {

+ 4 - 0
libretto/rtl.css

@@ -14,6 +14,10 @@ body {
 	unicode-bidi: embed;
 }
 
+.entry-content {
+	text-align: right;
+}
+
 /* Mobile menu */
 .menu-toggle span {
 	padding-left: 10px;