Browse Source

Club: improve post editor by changing font size of title and width of layout (#6403)

* Club: improve post editor by changing font size of title and width of layout

* Club: letter spacing for title

* Adding comment
Matias Benedetto 2 years ago
parent
commit
bae583f0aa
2 changed files with 13 additions and 2 deletions
  1. 11 0
      club/style.css
  2. 2 2
      club/theme.json

+ 11 - 0
club/style.css

@@ -423,3 +423,14 @@ body > .is-root-container > .wp-block-template-part > .wp-block-cover,
 		margin-top: .625rem;
 	}
 }
+
+/*
+ * Editor
+ */
+
+ /* This will be necessary until this is fixed https://github.com/WordPress/gutenberg/issues/42441 */
+.edit-post-visual-editor__post-title-wrapper .wp-block-post-title {
+	font-size: clamp(2.5rem, calc(2.5rem + ((1vw - 0.48rem) * 8.4135)), 6.875rem);
+	line-height: 1em;
+	letter-spacing: -0.04em;
+}

+ 2 - 2
club/theme.json

@@ -61,8 +61,8 @@
             }
         },
         "layout": {
-            "contentSize": "620px",
-            "wideSize": "1000px"
+            "contentSize": "900px",
+            "wideSize": "1200px"
         },
         "spacing": {
             "units": [