Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website] / web / core / profiles / demo_umami / themes / umami / css / components / fields / recipe-instruction.css
index af9ee7ee3069fccbb57edbbbe6340a2b47ab6824..6b3797e7179fe2af432ee676d569f13dffbd16f9 100644 (file)
 .field--name-field-recipe-instruction ol > li {
   position: relative;
   min-height: 1.5em;
-  padding: 0 0 0.6em 2.5em;
+  padding: 0 0 0.6em 2.5em; /* LTR */
   list-style: none;
   counter-increment: step-counter;
 }
+[dir=rtl] .field--name-field-recipe-instruction ol > li {
+  padding: 0 2.5em 0.6em 0;
+}
 .field--name-field-recipe-instruction ol > li::before {
   position: absolute;
   top: 0;
-  left: 0;
+  left: 0; /* LTR */
   content: counter(step-counter);
   color: #cc2a00;
   font-size: 1.5rem;
 }
+[dir=rtl] .field--name-field-recipe-instruction ol > li::before {
+  right: 0;
+  left: auto;
+}