Plugin Directory

Changeset 3625963


Ignore:
Timestamp:
07/28/2026 01:29:11 PM (3 months ago)
Author:
foodinfoorg
Message:

Update to version 0.1.6 from GitHub

Location:
food-info-nutrition-labels
Files:
1 added
7 edited
1 copied

Legend:

Unmodified
Added
Removed
  • food-info-nutrition-labels/tags/0.1.6/blocks/nutrition-label/style.css

    r3625840 r3625963  
    123123        flex-wrap: wrap;
    124124        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;
    126128}
    127129.nbfi-editor__credit-preview-label {
    … …  
    137139        margin-bottom: 8px;
    138140}
     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}
    139147.nbfi-editor__preview {
    140148        margin-top: 10px;
  • food-info-nutrition-labels/tags/0.1.6/food-info-nutrition-labels.php

    r3625840 r3625963  
    44 * Plugin URI:        https://food-info.org/recipe-nutrition-calculator
    55 * 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.5
     6 * Version:           0.1.6
    77 * Requires at least: 6.4
    88 * Requires PHP:      7.4
    … …  
    2222}
    2323
    24 define( 'NBFI_VERSION', '0.1.5' );
     24define( 'NBFI_VERSION', '0.1.6' );
    2525
    2626/**
  • food-info-nutrition-labels/tags/0.1.6/readme.txt

    r3625840 r3625963  
    55Tested up to: 7.0
    66Requires PHP: 7.4
    7 Stable tag: 0.1.5
     7Stable tag: 0.1.6
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    6969== Screenshots ==
    7070
    71 1. The nutrition label the block adds to your recipe, shown per serving and per 100 g.
     711. The nutrition label on your published recipe, per serving and per 100 g, naming the food databases the figures came from.
     722. The block in the editor: paste your ingredients, choose servings and your country, and click Calculate.
    7273
    7374== 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.
    7479
    7580= 0.1.5 =
  • food-info-nutrition-labels/trunk/blocks/nutrition-label/style.css

    r3625840 r3625963  
    123123        flex-wrap: wrap;
    124124        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;
    126128}
    127129.nbfi-editor__credit-preview-label {
    … …  
    137139        margin-bottom: 8px;
    138140}
     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}
    139147.nbfi-editor__preview {
    140148        margin-top: 10px;
  • food-info-nutrition-labels/trunk/food-info-nutrition-labels.php

    r3625840 r3625963  
    44 * Plugin URI:        https://food-info.org/recipe-nutrition-calculator
    55 * 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.5
     6 * Version:           0.1.6
    77 * Requires at least: 6.4
    88 * Requires PHP:      7.4
    … …  
    2222}
    2323
    24 define( 'NBFI_VERSION', '0.1.5' );
     24define( 'NBFI_VERSION', '0.1.6' );
    2525
    2626/**
  • food-info-nutrition-labels/trunk/readme.txt

    r3625840 r3625963  
    55Tested up to: 7.0
    66Requires PHP: 7.4
    7 Stable tag: 0.1.5
     7Stable tag: 0.1.6
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    6969== Screenshots ==
    7070
    71 1. The nutrition label the block adds to your recipe, shown per serving and per 100 g.
     711. The nutrition label on your published recipe, per serving and per 100 g, naming the food databases the figures came from.
     722. The block in the editor: paste your ingredients, choose servings and your country, and click Calculate.
    7273
    7374== 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.
    7479
    7580= 0.1.5 =
Note: See TracChangeset for help on using the changeset viewer.