Browse Source

Add comments and compile rtl.

Jeffrey Ong 5 years ago
parent
commit
627eec00d6
2 changed files with 8 additions and 3 deletions
  1. 5 0
      seedlet/assets/sass/blocks/utilities/_style.scss
  2. 3 3
      seedlet/style-rtl.css

+ 5 - 0
seedlet/assets/sass/blocks/utilities/_style.scss

@@ -22,6 +22,8 @@
 	margin-bottom: var(--global--spacing-vertical);
 }
 
+// Targeting the .entry-content class is necessary to ensure these styles 
+// only apply when the block isn't nested.
 .entry-content > .alignleft {
 	@extend %responsive-alignleft-mobile;
 	@extend %responsive-alignleft;
@@ -51,6 +53,9 @@
 	margin-left: var(--global--spacing-horizontal);
 }
 
+
+// Targeting the .entry-content class is necessary to ensure these styles 
+// only apply when the block isn't nested.
 .entry-content > .alignright {
 	@extend %responsive-alignright-mobile;
 	@extend %responsive-alignright;

+ 3 - 3
seedlet/style-rtl.css

@@ -2336,6 +2336,9 @@ table th,
 }
 
 /* Block Alignments */
+/**
+ * These selectors set the default max width for content appearing inside a post or page. 
+ */
 /**
  * .alignleft
  */
@@ -2374,9 +2377,6 @@ table th,
 	margin-top: 0;
 }
 
-/**
- * These selectors set the default max width for content appearing inside a post or page. 
- */
 /**
  * .alignwide
  */