Browse Source

Remove padding for center and left aligned lists.

Michael Cain 5 năm trước cách đây
mục cha
commit
21b3ab9162
2 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 2 0
      varia/sass/blocks/list/_editor.scss
  2. 2 0
      varia/sass/blocks/list/_style.scss

+ 2 - 0
varia/sass/blocks/list/_editor.scss

@@ -6,11 +6,13 @@ ol {
 	// Utility classes
 	&.aligncenter {
 		list-style-position: inside;
+		padding: 0;
 	}
 
 	&.alignright {
 		list-style-position: inside;
 		text-align: right;
+		padding: 0;
 	}
 }
 

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

@@ -7,11 +7,13 @@ ol {
 	// Utility classes
 	&.aligncenter {
 		list-style-position: inside;
+		padding: 0;
 	}
 
 	&.alignright {
 		list-style-position: inside;
 		text-align: right;
+		padding: 0;
 	}
 }