Breakpoint for XS devices missing

Created on 20 February 2023, over 1 year ago
Updated 25 March 2023, over 1 year ago

Problem/Motivation

With update to 5.5.7, bootstrap_barrio.breakpoints.yml was changed. For small medias the min-width query was deleted. So the fallback to xs-devices did not work anymore.
I did not find any mentioning of that change in the release notes. So I noticed the missing responsive image for xs only after one month, by coincidence.

Proposed resolution

I created my own breakpoints.yml file, with a separate media query for xs devices.

bootstrap_barrio.xs:
  label: extrasmall
  mediaQuery: ''
  weight: 0
  multipliers:
    - 1x
    - 2x
bootstrap_barrio.small:
  label: small
  mediaQuery: 'all and (min-width: 34.01em)'
  weight: 1
  multipliers:
    - 1x
    - 2x
bootstrap_barrio.medium:
  label: medium
  mediaQuery: 'all and (min-width: 48em)'
  weight: 2
  multipliers:
    - 1x
    - 2x
bootstrap_barrio.large:
  label: large
  mediaQuery: 'all and (min-width: 62em)'
  weight: 3
  multipliers:
    - 1x
    - 2x
bootstrap_barrio.extra:
  label: extra
  mediaQuery: 'all and (min-width: 75em)'
  weight: 4
  multipliers:
    - 1x
    - 2x
πŸ› Bug report
Status

Fixed

Version

5.5

Component

Code

Created by

πŸ‡¨πŸ‡­Switzerland maf001 Zurich

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024