Skip to content

Commit

Permalink
Merge branch 'hotfix/hero-sizes' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymcp committed Sep 30, 2024
2 parents 9e72caf + 137a8bf commit b4bad97
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 5 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
### v1.2.0
Features:
- Add Call to Action block patterns
- Add Audio/Quote block patterns

Fixes:
- Rendering issue in README.md
- Missing spacing above Blockquote block
- Layout of Latest Posts block in Sidebars
- Erroneous whitespace below Hero block

Chores:
- Move deprecated blocks to correct directory
- Bump Webpack version
- Bump Micromatch version

### v1.1.2
Fixes:
- Add missing viewport meta tags
Expand Down
13 changes: 12 additions & 1 deletion private/src/styles/block-patterns/_group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@

.wp-block-heading {
text-transform: uppercase;
font-size: 1.5rem;
}

p {
font-size: 1rem;
padding: 10px 10px 0 10px;
}

.wp-element-caption {
padding: 0 10px;
}
}

Expand All @@ -30,7 +40,8 @@
background-color: var(--wp--preset--color--amnesty-grey-mid-dark);
color: var(--wp--preset--color--white);

.wp-block-heading {
.wp-block-heading,
.wp-element-caption {
color: var(--wp--preset--color--white);
}
}
Expand Down
4 changes: 2 additions & 2 deletions private/src/styles/blocks/hero/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
display: table;
padding: 10px 16px;
max-width: 460px;
font-size: 1.5rem;
font-size: $base-font-size;

@include mq(xx-small) {
padding: 10px 20px;
Expand All @@ -45,7 +45,7 @@
.hero-title span {
margin: 0;
padding: 0 16px;
font-size: 4.5rem;
font-size: 27px;
line-height: 1.3 !important;
background-color: rgba(0, 0, 0, 0.45);
color: #fff;
Expand Down
4 changes: 2 additions & 2 deletions wp-content/themes/humanity-theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Theme Name: Humanity Theme
* Theme URI: https://github.com/amnestywebsite/humanity-theme
* Description: The Amnesty International WordPress Humanity Theme
* Version: 1.1.2
* Version: 1.2.0
* Author: Amnesty International
* Author URI: https://www.amnesty.org
* License: GPLv2
Expand All @@ -11,5 +11,5 @@
* Domain Path: /languages
* Requires PHP: 8.2.0
* Requires at least: 5.8.0
* Tested up to: 6.4.4
* Tested up to: 6.4.5
*/

0 comments on commit b4bad97

Please # to comment.