Skip to content

Commit

Permalink
Hotfix: Viewport padding, undef var
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Sep 7, 2022
1 parent 70e1a88 commit 5deae93
Show file tree
Hide file tree
Showing 12 changed files with 33 additions and 13 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### 9.1.4: 2022-09-07

* Fix: Viewport padding/white-space on mobile devices
* Fix: Leftover variable not defined

### 9.1.3: 2022-09-07

* Consistency for variable `--font-weight-paragraph`
Expand Down
2 changes: 1 addition & 1 deletion bin/tasks/additions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ chmod 777 ${PROJECT_PATH}/media

echo "${YELLOW}Generating default README.md...${TXTRESET}"

NEWEST_AIR_VERSION="9.1.3"
NEWEST_AIR_VERSION="9.1.4"
NEWEST_WORDPRESS_VERSION="6.0.2"
NEWEST_PHP_VERSION="7.4"
CURRENT_DATE=$(LC_TIME=en_US date '+%d %b %Y' |tr ' ' '_');
Expand Down
9 changes: 7 additions & 2 deletions css/dev/global.css

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions css/dev/gutenberg-editor-styles.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/prod/global.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/prod/gutenberg-editor-styles.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @Date: 2019-10-15 12:30:02
* @Last Modified by: Roni Laukkarinen
* @Last Modified time: 2022-09-07 14:08:45
* @Last Modified time: 2022-09-07 14:20:26
*
* @package air-light
*/
Expand All @@ -17,7 +17,7 @@
/**
* The current version of the theme.
*/
define( 'AIR_LIGHT_VERSION', '9.1.3' );
define( 'AIR_LIGHT_VERSION', '9.1.4' );

// We need to have some defaults as comments or empties so let's allow this:
// phpcs:disable Squiz.Commenting.InlineComment.SpacingBefore, WordPress.Arrays.ArrayDeclarationSpacing.SpaceInEmptyArray
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "air-light",
"version": "9.1.3",
"version": "9.1.4",
"description": "A minimalist WordPress starter theme.",
"author": "Digitoimisto Dude Oy ([email protected])",
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Tags: one-column, accessibility-ready, translation-ready

Requires at least: 5.0
Tested up to: 6.0.2
Stable tag: 9.1.3
Stable tag: 9.1.4
License: MIT License
License URI: https://opensource.org/licenses/MIT

Expand Down
2 changes: 1 addition & 1 deletion sass/features/_gravity-forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ body *[aria-invalid="true"] {
background-color: transparent;
border: 2px solid var(--color-success);
color: var(--color-success);
font-size: var(--font-size-default);
font-size: var(--font-size-paragraph);
font-weight: var(--font-weight-semibold);
padding: 2rem;
}
5 changes: 5 additions & 0 deletions sass/variables/_spacings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
--padding-container-horizontal: 6.4rem;
}

// When there's no longer room for container to fit with wider white space
@media (max-width: 700px) {
--padding-container-horizontal: 2rem;
}

// When navigation transforms to a responsive hamburger menu
@media (max-width: $width-max-mobile) {
--padding-site-header-vertical: 2rem;
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI: https://github.com/digitoimistodude/air-light
Author: Digitoimisto Dude Oy
Author URI: https://www.dude.fi
Description: Hi. I'm a starter theme called <code>Air-light</code>, or <em>air</em>, if you like. I'm a theme based on Automattic's underscores and I'm meant for hacking so don't use me as a <em>Parent Theme</em> as-is. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for.
Version: 9.1.3
Version: 9.1.4
------8<----------
Please do this before your actual theme is ready to go live:
Expand Down

0 comments on commit 5deae93

Please sign in to comment.