Преглед на файлове

Merge pull request #1319 from Automattic/fix/issue-1306

Varia: Prevent list item markers from overflowing parent wrappers.
Allan Cole преди 5 години
родител
ревизия
c10adad133

+ 3 - 2
alves/style-rtl.css

@@ -1604,16 +1604,17 @@ img {
 ul,
 ol {
 	font-family: "Karla", Arial, sans-serif;
+	list-style-position: inside;
 	margin: 0 16px 0 0;
 	padding: 0;
 }
 
 ul {
-	list-style: disc;
+	list-style-type: disc;
 }
 
 ol {
-	list-style: decimal;
+	list-style-type: decimal;
 }
 
 dt {

+ 3 - 2
alves/style.css

@@ -1604,16 +1604,17 @@ img {
 ul,
 ol {
 	font-family: "Karla", Arial, sans-serif;
+	list-style-position: inside;
 	margin: 0 0 0 16px;
 	padding: 0;
 }
 
 ul {
-	list-style: disc;
+	list-style-type: disc;
 }
 
 ol {
-	list-style: decimal;
+	list-style-type: decimal;
 }
 
 dt {

+ 3 - 2
brompton/style-rtl.css

@@ -1604,16 +1604,17 @@ img {
 ul,
 ol {
 	font-family: Lora, Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif;
+	list-style-position: inside;
 	margin: 0 16px 0 0;
 	padding: 0;
 }
 
 ul {
-	list-style: disc;
+	list-style-type: disc;
 }
 
 ol {
-	list-style: decimal;
+	list-style-type: decimal;
 }
 
 dt {

+ 3 - 2
brompton/style.css

@@ -1604,16 +1604,17 @@ img {
 ul,
 ol {
 	font-family: Lora, Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif;
+	list-style-position: inside;
 	margin: 0 0 0 16px;
 	padding: 0;
 }
 
 ul {
-	list-style: disc;
+	list-style-type: disc;
 }
 
 ol {
-	list-style: decimal;
+	list-style-type: decimal;
 }
 
 dt {

+ 3 - 2
coutoire/style-rtl.css

@@ -1603,16 +1603,17 @@ img {
 ul,
 ol {
 	font-family: "Work Sans", sans-serif;
+	list-style-position: inside;
 	margin: 0 16px 0 0;
 	padding: 0;
 }
 
 ul {
-	list-style: disc;
+	list-style-type: disc;
 }
 
 ol {
-	list-style: decimal;
+	list-style-type: decimal;
 }
 
 dt {

+ 3 - 2
coutoire/style.css

@@ -1603,16 +1603,17 @@ img {
 ul,
 ol {
 	font-family: "Work Sans", sans-serif;
+	list-style-position: inside;
 	margin: 0 0 0 16px;
 	padding: 0;
 }
 
 ul {
-	list-style: disc;
+	list-style-type: disc;
 }
 
 ol {
-	list-style: decimal;
+	list-style-type: decimal;
 }
 
 dt {

+ 3 - 2
exford/style-rtl.css

@@ -1604,16 +1604,17 @@ img {
 ul,
 ol {
 	font-family: "Source Serif Pro", "Baskerville Old Face", Garamond, "Times New Roman", serif;
+	list-style-position: inside;
 	margin: 0 16px 0 0;
 	padding: 0;
 }
 
 ul {
-	list-style: disc;
+	list-style-type: disc;
 }
 
 ol {
-	list-style: decimal;
+	list-style-type: decimal;
 }
 
 dt {

+ 3 - 2
exford/style.css

@@ -1604,16 +1604,17 @@ img {
 ul,
 ol {
 	font-family: "Source Serif Pro", "Baskerville Old Face", Garamond, "Times New Roman", serif;
+	list-style-position: inside;
 	margin: 0 0 0 16px;
 	padding: 0;
 }
 
 ul {
-	list-style: disc;
+	list-style-type: disc;
 }
 
 ol {
-	list-style: decimal;
+	list-style-type: decimal;
 }
 
 dt {

+ 3 - 2
hever/style-rtl.css

@@ -1604,16 +1604,17 @@ img {
 ul,
 ol {
 	font-family: "PT Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
+	list-style-position: inside;
 	margin: 0 16px 0 0;
 	padding: 0;
 }
 
 ul {
-	list-style: disc;
+	list-style-type: disc;
 }
 
 ol {
-	list-style: decimal;
+	list-style-type: decimal;
 }
 
 dt {

+ 3 - 2
hever/style.css

@@ -1604,16 +1604,17 @@ img {
 ul,
 ol {
 	font-family: "PT Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
+	list-style-position: inside;
 	margin: 0 0 0 16px;
 	padding: 0;
 }
 
 ul {
-	list-style: disc;
+	list-style-type: disc;
 }
 
 ol {
-	list-style: decimal;
+	list-style-type: decimal;
 }
 
 dt {

+ 3 - 2
leven/style-rtl.css

@@ -1604,16 +1604,17 @@ img {
 ul,
 ol {
 	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
+	list-style-position: inside;
 	margin: 0 16px 0 0;
 	padding: 0;
 }
 
 ul {
-	list-style: disc;
+	list-style-type: disc;
 }
 
 ol {
-	list-style: decimal;
+	list-style-type: decimal;
 }
 
 dt {

+ 3 - 2
leven/style.css

@@ -1604,16 +1604,17 @@ img {
 ul,
 ol {
 	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
+	list-style-position: inside;
 	margin: 0 0 0 16px;
 	padding: 0;
 }
 
 ul {
-	list-style: disc;
+	list-style-type: disc;
 }
 
 ol {
-	list-style: decimal;
+	list-style-type: decimal;
 }
 
 dt {

+ 3 - 2
morden/style-rtl.css

@@ -1604,16 +1604,17 @@ img {
 ul,
 ol {
 	font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
+	list-style-position: inside;
 	margin: 0 16px 0 0;
 	padding: 0;
 }
 
 ul {
-	list-style: disc;
+	list-style-type: disc;
 }
 
 ol {
-	list-style: decimal;
+	list-style-type: decimal;
 }
 
 dt {

+ 3 - 2
morden/style.css

@@ -1604,16 +1604,17 @@ img {
 ul,
 ol {
 	font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
+	list-style-position: inside;
 	margin: 0 0 0 16px;
 	padding: 0;
 }
 
 ul {
-	list-style: disc;
+	list-style-type: disc;
 }
 
 ol {
-	list-style: decimal;
+	list-style-type: decimal;
 }
 
 dt {

+ 3 - 2
redhill/style-rtl.css

@@ -1604,16 +1604,17 @@ img {
 ul,
 ol {
 	font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Times, "Times New Roman", serif;
+	list-style-position: inside;
 	margin: 0 16px 0 0;
 	padding: 0;
 }
 
 ul {
-	list-style: disc;
+	list-style-type: disc;
 }
 
 ol {
-	list-style: decimal;
+	list-style-type: decimal;
 }
 
 dt {

+ 3 - 2
redhill/style.css

@@ -1604,16 +1604,17 @@ img {
 ul,
 ol {
 	font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Times, "Times New Roman", serif;
+	list-style-position: inside;
 	margin: 0 0 0 16px;
 	padding: 0;
 }
 
 ul {
-	list-style: disc;
+	list-style-type: disc;
 }
 
 ol {
-	list-style: decimal;
+	list-style-type: decimal;
 }
 
 dt {

+ 3 - 2
rockfield/style-rtl.css

@@ -1604,16 +1604,17 @@ img {
 ul,
 ol {
 	font-family: Lora, Baskerville, Georgia, Times, serif;
+	list-style-position: inside;
 	margin: 0 16px 0 0;
 	padding: 0;
 }
 
 ul {
-	list-style: disc;
+	list-style-type: disc;
 }
 
 ol {
-	list-style: decimal;
+	list-style-type: decimal;
 }
 
 dt {

+ 3 - 2
rockfield/style.css

@@ -1604,16 +1604,17 @@ img {
 ul,
 ol {
 	font-family: Lora, Baskerville, Georgia, Times, serif;
+	list-style-position: inside;
 	margin: 0 0 0 16px;
 	padding: 0;
 }
 
 ul {
-	list-style: disc;
+	list-style-type: disc;
 }
 
 ol {
-	list-style: decimal;
+	list-style-type: decimal;
 }
 
 dt {

+ 3 - 2
stow/style-rtl.css

@@ -1604,16 +1604,17 @@ img {
 ul,
 ol {
 	font-family: "Source Sans Pro", Arial, sans-serif;
+	list-style-position: inside;
 	margin: 0 16px 0 0;
 	padding: 0;
 }
 
 ul {
-	list-style: disc;
+	list-style-type: disc;
 }
 
 ol {
-	list-style: decimal;
+	list-style-type: decimal;
 }
 
 dt {

+ 3 - 2
stow/style.css

@@ -1604,16 +1604,17 @@ img {
 ul,
 ol {
 	font-family: "Source Sans Pro", Arial, sans-serif;
+	list-style-position: inside;
 	margin: 0 0 0 16px;
 	padding: 0;
 }
 
 ul {
-	list-style: disc;
+	list-style-type: disc;
 }
 
 ol {
-	list-style: decimal;
+	list-style-type: decimal;
 }
 
 dt {

+ 3 - 2
stratford/style-rtl.css

@@ -1604,16 +1604,17 @@ img {
 ul,
 ol {
 	font-family: "Lato", sans-serif;
+	list-style-position: inside;
 	margin: 0 16px 0 0;
 	padding: 0;
 }
 
 ul {
-	list-style: disc;
+	list-style-type: disc;
 }
 
 ol {
-	list-style: decimal;
+	list-style-type: decimal;
 }
 
 dt {

+ 3 - 2
stratford/style.css

@@ -1604,16 +1604,17 @@ img {
 ul,
 ol {
 	font-family: "Lato", sans-serif;
+	list-style-position: inside;
 	margin: 0 0 0 16px;
 	padding: 0;
 }
 
 ul {
-	list-style: disc;
+	list-style-type: disc;
 }
 
 ol {
-	list-style: decimal;
+	list-style-type: decimal;
 }
 
 dt {

+ 3 - 2
varia/sass/blocks/list/_style.scss

@@ -1,16 +1,17 @@
 ul,
 ol {
 	font-family: #{map-deep-get($config-list, "font", "family")};
+	list-style-position: inside;
 	margin: 0 0 0 #{map-deep-get($config-global, "spacing", "unit")};
 	padding: 0;
 }
 
 ul {
-	list-style: disc;
+	list-style-type: disc;
 }
 
 ol {
-	list-style: decimal;
+	list-style-type: decimal;
 }
 
 li > ul,

+ 1 - 0
varia/style-rtl.css

@@ -1563,6 +1563,7 @@ img {
 ul,
 ol {
 	font-family: serif;
+	list-style-position: inside;
 	margin: 0 16px 0 0;
 	padding: 0;
 }

+ 3 - 2
varia/style.css

@@ -1563,16 +1563,17 @@ img {
 ul,
 ol {
 	font-family: serif;
+	list-style-position: inside;
 	margin: 0 0 0 16px;
 	padding: 0;
 }
 
 ul {
-	list-style: disc;
+	list-style-type: disc;
 }
 
 ol {
-	list-style: decimal;
+	list-style-type: decimal;
 }
 
 dt {