Skip to content

Fix is-offset-one-third margin percentage - #4053

Open
Hashim1999164 wants to merge 1 commit into
jgthms:mainfrom
Hashim1999164:fix/offset-one-third-percentage-4044
Open

Fix is-offset-one-third margin percentage#4053
Hashim1999164 wants to merge 1 commit into
jgthms:mainfrom
Hashim1999164:fix/offset-one-third-percentage-4044

Conversation

@Hashim1999164

Copy link
Copy Markdown

Summary

  • is-offset-one-third (and breakpoint variants except fullhd) used margin-inline-start: 0.3333% instead of 33.3333%
  • That made one-third offsets effectively a no-op while is-offset-two-thirds was already correct
  • Updated the Sass source and rebuilt the distributed CSS

Fixes #4044

Test plan

  • Confirm sass/grid/columns.scss uses 33.3333% for all is-offset-one-third* rules
  • Rebuild with npm run build-all / minify and verify .column.is-offset-one-third-desktop { margin-inline-start: 33.3333%; }
  • Spot-check a columns layout with is-offset-one-third-desktop at desktop width

The one-third column offset used 0.3333% instead of 33.3333% across most breakpoints, so offsets barely moved. Align with is-offset-two-thirds and the already-correct fullhd rule.

Fixes jgthms#4044
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong value in release 1.0.4 for is-offset-one-third-desktop

1 participant