diff --git a/wordpress-plugins/calorieapp-identity-bridge/README.md b/wordpress-plugins/calorieapp-identity-bridge/README.md index 881e005..7526c81 100644 --- a/wordpress-plugins/calorieapp-identity-bridge/README.md +++ b/wordpress-plugins/calorieapp-identity-bridge/README.md @@ -41,6 +41,15 @@ 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. +Only the horizontal margins are adjusted; vertical spacing stays theme-controlled. +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 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..51d2d8e 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,24 @@ -/* 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-left: auto !important; + margin-right: 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'; 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',