Skip to content

Commit 11ed05d

Browse files
committed
Add CSS for pre in each theme.json
1 parent 86e4d43 commit 11ed05d

4 files changed

Lines changed: 12 additions & 0 deletions

File tree

src/wp-content/themes/twentytwentyfive/theme.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,9 @@
682682
"textDecoration": "none"
683683
}
684684
}
685+
},
686+
"pre": {
687+
"css": "&{overflow-x:auto;}"
685688
}
686689
}
687690
},

src/wp-content/themes/twentytwentyfour/theme.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -891,6 +891,9 @@
891891
"color": {
892892
"text": "var(--wp--preset--color--contrast)"
893893
}
894+
},
895+
"pre": {
896+
"css": "&{overflow-x:auto;}"
894897
}
895898
},
896899
"spacing": {

src/wp-content/themes/twentytwentythree/theme.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,9 @@
699699
"typography": {
700700
"textDecoration": "underline"
701701
}
702+
},
703+
"pre": {
704+
"css": "&{overflow-x:auto;}"
702705
}
703706
},
704707
"spacing": {

src/wp-content/themes/twentytwentytwo/theme.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,9 @@
338338
"color": {
339339
"text": "var(--wp--preset--color--foreground)"
340340
}
341+
},
342+
"pre": {
343+
"css": "&{overflow-x:auto;}"
341344
}
342345
},
343346
"spacing": {

0 commit comments

Comments
 (0)