Skip to content

GOV.UK Frontend release v2.11.0

Compare
Choose a tag to compare
@aliuk2012 aliuk2012 released this 25 Apr 12:48
8370f97

Changelog

🆕 New features:

  • Add new secondary and warning button variants

    (PR #1207)

  • Add new govuk-shade and govuk-tint functions for creating shades and tints of
    colours.

    (PR #1207)

  • Add support for custom row classes on the summary list component (including support for some rows without action links)

    (PR #1259)

  • Ensure fieldset never exceeds max-width

    This fix ensures that both WebKit/Blink and Firefox are prevented from expanding their fieldset widths to the content's minimum size.

    This was preventing max-width: 100% from being applied to select menus inside a fieldset.

    See discussion in "Reset your fieldset" and raised by issue #1264

    (PR #1269)

🔧 Fixes:

  • Add various fixes to the summary list component:

    1. Fixes the 1px row height change when borders are removed
      Padding is now adjusted by 1px instead

    2. Fixes the text alignment when the actions column isn't added
      So the key column always stays at 30% width

    (PR #1259)