From a73f77be3deff16bd6f6b686bc4954375781a530 Mon Sep 17 00:00:00 2001 From: xrpbanks <126300068+xrpbanks@users.noreply.github.com> Date: Mon, 7 Sep 2026 08:45:44 +0200 Subject: [PATCH 1/3] Fit the desktop Xumm card within its existing Brizy column --- .../calorieapp-identity-bridge/README.md | 6 +++++ .../assets/calorieapp-site-layout.css | 22 +++++++++++++++++-- .../calorieapp-identity-bridge.php | 4 ++-- 3 files changed, 28 insertions(+), 4 deletions(-) diff --git a/wordpress-plugins/calorieapp-identity-bridge/README.md b/wordpress-plugins/calorieapp-identity-bridge/README.md index 881e005..7e19b72 100644 --- a/wordpress-plugins/calorieapp-identity-bridge/README.md +++ b/wordpress-plugins/calorieapp-identity-bridge/README.md @@ -41,6 +41,12 @@ The browser endpoint is intentionally not REST. XUMM Login establishes a normal Details are in SECURITY.md and CONFIGURATION.md. +Version 0.3.23 keeps the desktop account card within its existing Brizy column. +The shortcode uses the available column width and the card is centred with a +maximum width of 220px. This prevents the right edge from being clipped on +narrower desktop windows without adding a height constraint or moving the menu. These rules apply only from 769px; the mobile CSS and every JavaScript +and authentication controller remain unchanged from 0.3.22. + Version 0.3.22 moves the embedded page's existing joint-logout button into the XUMM account card after the embed controller initializes. Both website controls use the short label “Log out”, with an accessible explanation of the sessions diff --git a/wordpress-plugins/calorieapp-identity-bridge/assets/calorieapp-site-layout.css b/wordpress-plugins/calorieapp-identity-bridge/assets/calorieapp-site-layout.css index e0649fa..5a9a86a 100644 --- a/wordpress-plugins/calorieapp-identity-bridge/assets/calorieapp-site-layout.css +++ b/wordpress-plugins/calorieapp-identity-bridge/assets/calorieapp-site-layout.css @@ -1,5 +1,23 @@ -/* Public-header presentation only. Desktop and authentication UI keep their - existing styles. On phones the account card scrolls with the header. */ +/* Public-header presentation only. Keep the account card within its desktop + column. On phones the account card scrolls with the header. */ +@media (min-width: 769px) { + .brz .calorieapp-identity-wrapper .brz-wp-shortcode { + width: 100% !important; + max-width: 100% !important; + } + + .brz .calorieapp-identity-wrapper .brz-wp-shortcode > div { + width: 100% !important; + } + + .brz .calorieapp-identity-card { + box-sizing: border-box; + width: 100% !important; + max-width: 220px !important; + margin: 5px auto !important; + } +} + @media (max-width: 768px) { .brz .calorieapp-identity-wrapper { position: relative !important; diff --git a/wordpress-plugins/calorieapp-identity-bridge/calorieapp-identity-bridge.php b/wordpress-plugins/calorieapp-identity-bridge/calorieapp-identity-bridge.php index a2ab27a..40c4a72 100644 --- a/wordpress-plugins/calorieapp-identity-bridge/calorieapp-identity-bridge.php +++ b/wordpress-plugins/calorieapp-identity-bridge/calorieapp-identity-bridge.php @@ -3,7 +3,7 @@ * Plugin Name: CalorieApp Identity Bridge * Plugin URI: https://calorietoken.net * Description: Companion bridge plugin that maps authenticated WordPress/XUMM Login sessions to short-lived CalorieApp authorization codes. - * Version: 0.3.22 + * Version: 0.3.23 * Author: CalorieApp * License: GPL-2.0-or-later * License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -19,7 +19,7 @@ } if (!defined('CALORIEAPP_IDENTITY_BRIDGE_VERSION')) { - define('CALORIEAPP_IDENTITY_BRIDGE_VERSION', '0.3.22'); + define('CALORIEAPP_IDENTITY_BRIDGE_VERSION', '0.3.23'); } require_once plugin_dir_path(__FILE__) . 'includes/class-calorieapp-identity-bridge.php'; From 06698c5ea2603cfd32a5918dc2d4d64a718b69c6 Mon Sep 17 00:00:00 2001 From: xrpbanks <126300068+xrpbanks@users.noreply.github.com> Date: Mon, 7 Sep 2026 08:54:17 +0200 Subject: [PATCH 2/3] Preserve vertical widget spacing and clarify the release note --- wordpress-plugins/calorieapp-identity-bridge/README.md | 6 ++++-- .../assets/calorieapp-site-layout.css | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/wordpress-plugins/calorieapp-identity-bridge/README.md b/wordpress-plugins/calorieapp-identity-bridge/README.md index 7e19b72..5e96dda 100644 --- a/wordpress-plugins/calorieapp-identity-bridge/README.md +++ b/wordpress-plugins/calorieapp-identity-bridge/README.md @@ -44,8 +44,10 @@ Details are in SECURITY.md and CONFIGURATION.md. Version 0.3.23 keeps the desktop account card within its existing Brizy column. The shortcode uses the available column width and the card is centred with a maximum width of 220px. This prevents the right edge from being clipped on -narrower desktop windows without adding a height constraint or moving the menu. These rules apply only from 769px; the mobile CSS and every JavaScript -and authentication controller remain unchanged from 0.3.22. +narrower desktop windows without adding a height constraint or moving the menu. +Only the horizontal margins are adjusted; vertical spacing stays theme-controlled. +These rules apply only from 769px. The mobile CSS, all JavaScript files and all +authentication controllers remain unchanged from 0.3.22. Version 0.3.22 moves the embedded page's existing joint-logout button into the XUMM account card after the embed controller initializes. Both website controls diff --git a/wordpress-plugins/calorieapp-identity-bridge/assets/calorieapp-site-layout.css b/wordpress-plugins/calorieapp-identity-bridge/assets/calorieapp-site-layout.css index 5a9a86a..51d2d8e 100644 --- a/wordpress-plugins/calorieapp-identity-bridge/assets/calorieapp-site-layout.css +++ b/wordpress-plugins/calorieapp-identity-bridge/assets/calorieapp-site-layout.css @@ -14,7 +14,8 @@ box-sizing: border-box; width: 100% !important; max-width: 220px !important; - margin: 5px auto !important; + margin-left: auto !important; + margin-right: auto !important; } } From a00dbf92f6022603243c9ab44ca7c68af7412d05 Mon Sep 17 00:00:00 2001 From: xrpbanks <126300068+xrpbanks@users.noreply.github.com> Date: Mon, 7 Sep 2026 09:04:30 +0200 Subject: [PATCH 3/3] Align the fallback asset version with the 0.3.23 package --- wordpress-plugins/calorieapp-identity-bridge/README.md | 5 +++-- .../class-calorieapp-identity-bridge-integrated-login.php | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/wordpress-plugins/calorieapp-identity-bridge/README.md b/wordpress-plugins/calorieapp-identity-bridge/README.md index 5e96dda..7526c81 100644 --- a/wordpress-plugins/calorieapp-identity-bridge/README.md +++ b/wordpress-plugins/calorieapp-identity-bridge/README.md @@ -46,8 +46,9 @@ The shortcode uses the available column width and the card is centred with a maximum width of 220px. This prevents the right edge from being clipped on narrower desktop windows without adding a height constraint or moving the menu. Only the horizontal margins are adjusted; vertical spacing stays theme-controlled. -These rules apply only from 769px. The mobile CSS, all JavaScript files and all -authentication controllers remain unchanged from 0.3.22. +These rules apply only from 769px. The mobile CSS and all JavaScript files stay +unchanged from 0.3.22. Authentication and session logic is unchanged; the fallback +asset-version string also advances to 0.3.23. Version 0.3.22 moves the embedded page's existing joint-logout button into the XUMM account card after the embed controller initializes. Both website controls diff --git a/wordpress-plugins/calorieapp-identity-bridge/includes/class-calorieapp-identity-bridge-integrated-login.php b/wordpress-plugins/calorieapp-identity-bridge/includes/class-calorieapp-identity-bridge-integrated-login.php index 7c53166..902679f 100644 --- a/wordpress-plugins/calorieapp-identity-bridge/includes/class-calorieapp-identity-bridge-integrated-login.php +++ b/wordpress-plugins/calorieapp-identity-bridge/includes/class-calorieapp-identity-bridge-integrated-login.php @@ -81,7 +81,7 @@ public function register_assets(): void { $base_url = plugin_dir_url(CALORIEAPP_IDENTITY_BRIDGE_FILE); $version = defined('CALORIEAPP_IDENTITY_BRIDGE_VERSION') ? CALORIEAPP_IDENTITY_BRIDGE_VERSION - : '0.3.22'; + : '0.3.23'; wp_register_style( 'calorieapp-identity-bridge-embed',