Browse Source

Club: improve the look of the read-more button (#6337)

Matias Benedetto 2 years ago
parent
commit
78fbe3cef0
2 changed files with 7 additions and 6 deletions
  1. 1 1
      club/style.css
  2. 6 5
      club/theme.json

+ 1 - 1
club/style.css

@@ -148,7 +148,7 @@ a {
 }
 
 .club-post-list-pattern .wp-block-post > .wp-block-group > .wp-block-columns > .wp-block-column:first-child {
-	flex-grow: 2;
+	flex-grow: 3;
 }
 
 .club-post-list-pattern .wp-block-post > .wp-block-group > .wp-block-columns > .wp-block-column:last-child > .wp-block-columns {

+ 6 - 5
club/theme.json

@@ -415,7 +415,8 @@
                 "typography": {
                     "textTransform": "uppercase",
                     "fontSize": "var(--wp--preset--font-size--large)",
-                    "letterSpacing": "-0.04em"
+                    "letterSpacing": "-0.04em",
+                    "lineHeight": "1em"
                 },
                 "border": {
                     "color": "var(--wp--preset--color--foreground)",
@@ -425,10 +426,10 @@
                 },
                 "spacing": {
 					"padding": {
-						"top": "calc(0.5em + 2px)",
-						"bottom": "calc(0.5em + 2px)",
-						"left": "calc(1.333em + 2px)",
-						"right": "calc(1.333em + 2px)"
+						"top": "calc(0.3em + 2px)",
+						"bottom": "calc(0.3em + 2px)",
+						"left": "calc(1em + 2px)",
+						"right": "calc(1em + 2px)"
 					}
 				}
             }