projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pull merge.
[yaffs-website]
/
web
/
core
/
profiles
/
demo_umami
/
themes
/
umami
/
css
/
components
/
fields
/
recipe-instruction.css
diff --git
a/web/core/profiles/demo_umami/themes/umami/css/components/fields/recipe-instruction.css
b/web/core/profiles/demo_umami/themes/umami/css/components/fields/recipe-instruction.css
index af9ee7ee3069fccbb57edbbbe6340a2b47ab6824..6b3797e7179fe2af432ee676d569f13dffbd16f9 100644
(file)
--- a/
web/core/profiles/demo_umami/themes/umami/css/components/fields/recipe-instruction.css
+++ b/
web/core/profiles/demo_umami/themes/umami/css/components/fields/recipe-instruction.css
@@
-28,15
+28,22
@@
.field--name-field-recipe-instruction ol > li {
position: relative;
min-height: 1.5em;
.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;
}
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;
.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;
}
content: counter(step-counter);
color: #cc2a00;
font-size: 1.5rem;
}
+[dir=rtl] .field--name-field-recipe-instruction ol > li::before {
+ right: 0;
+ left: auto;
+}