Changeset 3625963
- Timestamp:
- 07/28/2026 01:29:11 PM (3 months ago)
- Location:
- food-info-nutrition-labels
- Files:
-
- 1 added
- 7 edited
- 1 copied
-
assets/screenshot-1.png (modified) ( previous)
-
assets/screenshot-2.png (added)
-
tags/0.1.6 (copied) (copied from food-info-nutrition-labels/trunk )
-
tags/0.1.6/blocks/nutrition-label/style.css (modified) (2 diffs)
-
tags/0.1.6/food-info-nutrition-labels.php (modified) (2 diffs)
-
tags/0.1.6/readme.txt (modified) (2 diffs)
-
trunk/blocks/nutrition-label/style.css (modified) (2 diffs)
-
trunk/food-info-nutrition-labels.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
food-info-nutrition-labels/tags/0.1.6/blocks/nutrition-label/style.css
r3625840 r3625963 123 123 flex-wrap: wrap; 124 124 gap: 6px; 125 margin: -4px 0 0; 125 /* Was a negative top margin, which pulled the preview up into the descenders of the toggle's 126 last help-text line. Sit clear of it instead. */ 127 margin: 4px 0 0; 126 128 } 127 129 .nbfi-editor__credit-preview-label { … … 137 139 margin-bottom: 8px; 138 140 } 141 /* The servings select is only wide enough for a one- or two-digit number, and a flex item's 142 default min-width:auto let WordPress shrink its label to match — which broke "SERVINGS" 143 across two lines mid-word. Give it room for its own label instead. */ 144 .nbfi-editor__row > * { 145 min-width: 7rem; 146 } 139 147 .nbfi-editor__preview { 140 148 margin-top: 10px; -
food-info-nutrition-labels/tags/0.1.6/food-info-nutrition-labels.php
r3625840 r3625963 4 4 * Plugin URI: https://food-info.org/recipe-nutrition-calculator 5 5 * Description: Add an accurate, region-native nutrition label to any recipe, powered by five national food databases (UK CoFID, US USDA, France Ciqual and more). Free. 6 * Version: 0.1. 56 * Version: 0.1.6 7 7 * Requires at least: 6.4 8 8 * Requires PHP: 7.4 … … 22 22 } 23 23 24 define( 'NBFI_VERSION', '0.1. 5' );24 define( 'NBFI_VERSION', '0.1.6' ); 25 25 26 26 /** -
food-info-nutrition-labels/tags/0.1.6/readme.txt
r3625840 r3625963 5 5 Tested up to: 7.0 6 6 Requires PHP: 7.4 7 Stable tag: 0.1. 57 Stable tag: 0.1.6 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 69 69 == Screenshots == 70 70 71 1. The nutrition label the block adds to your recipe, shown per serving and per 100 g. 71 1. The nutrition label on your published recipe, per serving and per 100 g, naming the food databases the figures came from. 72 2. The block in the editor: paste your ingredients, choose servings and your country, and click Calculate. 72 73 73 74 == Changelog == 75 76 = 0.1.6 = 77 * Fixed the Servings label wrapping mid-word in the editor, and the credit preview overlapping the text above it. 78 * Refreshed the screenshots and added one showing the block in the editor. 74 79 75 80 = 0.1.5 = -
food-info-nutrition-labels/trunk/blocks/nutrition-label/style.css
r3625840 r3625963 123 123 flex-wrap: wrap; 124 124 gap: 6px; 125 margin: -4px 0 0; 125 /* Was a negative top margin, which pulled the preview up into the descenders of the toggle's 126 last help-text line. Sit clear of it instead. */ 127 margin: 4px 0 0; 126 128 } 127 129 .nbfi-editor__credit-preview-label { … … 137 139 margin-bottom: 8px; 138 140 } 141 /* The servings select is only wide enough for a one- or two-digit number, and a flex item's 142 default min-width:auto let WordPress shrink its label to match — which broke "SERVINGS" 143 across two lines mid-word. Give it room for its own label instead. */ 144 .nbfi-editor__row > * { 145 min-width: 7rem; 146 } 139 147 .nbfi-editor__preview { 140 148 margin-top: 10px; -
food-info-nutrition-labels/trunk/food-info-nutrition-labels.php
r3625840 r3625963 4 4 * Plugin URI: https://food-info.org/recipe-nutrition-calculator 5 5 * Description: Add an accurate, region-native nutrition label to any recipe, powered by five national food databases (UK CoFID, US USDA, France Ciqual and more). Free. 6 * Version: 0.1. 56 * Version: 0.1.6 7 7 * Requires at least: 6.4 8 8 * Requires PHP: 7.4 … … 22 22 } 23 23 24 define( 'NBFI_VERSION', '0.1. 5' );24 define( 'NBFI_VERSION', '0.1.6' ); 25 25 26 26 /** -
food-info-nutrition-labels/trunk/readme.txt
r3625840 r3625963 5 5 Tested up to: 7.0 6 6 Requires PHP: 7.4 7 Stable tag: 0.1. 57 Stable tag: 0.1.6 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 69 69 == Screenshots == 70 70 71 1. The nutrition label the block adds to your recipe, shown per serving and per 100 g. 71 1. The nutrition label on your published recipe, per serving and per 100 g, naming the food databases the figures came from. 72 2. The block in the editor: paste your ingredients, choose servings and your country, and click Calculate. 72 73 73 74 == Changelog == 75 76 = 0.1.6 = 77 * Fixed the Servings label wrapping mid-word in the editor, and the credit preview overlapping the text above it. 78 * Refreshed the screenshots and added one showing the block in the editor. 74 79 75 80 = 0.1.5 =
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)