Skip to content

fix(lib): removed breadcrumb margin bottom#3693

Open
duvalale wants to merge 7 commits into
mainfrom
main-ad-breadcrumb-margin-bottom
Open

fix(lib): removed breadcrumb margin bottom#3693
duvalale wants to merge 7 commits into
mainfrom
main-ad-breadcrumb-margin-bottom

Conversation

@duvalale

@duvalale duvalale commented Jul 16, 2026

Copy link
Copy Markdown
Member

Types of change

  • Non-breaking change
  • Breaking change (fix or feature that would change existing functionality and usage)

Related issues

Closes #3611

Description

Added margin-bottom set to 0 to list-unstyled mixin, and updated components that use it accordingly.

Checklists

  • I have read the contributing guidelines
  • My change follows the developer guide
  • My change pass all tests
  • My change is compatible with a responsive display
  • I have added tests (Javascript unit test or visual) to cover my changes
  • My change introduces changes to the documentation that I have updated accordingly
    • Title and DOM structure is correct
    • Links have been updated (title changes impact links)
    • CSS for the documentation
  • I have checked all states and combinations of the component with my change
  • I have checked all the impacts for the other components and core behavior (grid, reboot, utilities)

Checklist (for Core Team only)

  • The changes need to be in the migration guide
  • The changes are well displayed in Storybook (be careful if example order has changed for DSM)
  • The changes are compatible with RTL
  • Manually test browser compatibility with BrowserStack (Chrome 120, Firefox 121, Edge 120, Safari 15.6, iOS Safari, Chrome & Firefox on Android)

Progression (for Core Team only)

Live previews

@netlify

netlify Bot commented Jul 16, 2026

Copy link
Copy Markdown

Deploy Preview for boosted ready!

Name Link
🔨 Latest commit 454f925
🔍 Latest deploy log https://app.netlify.com/projects/boosted/deploys/6a58e9b69da02c0008dc2864
😎 Deploy Preview https://deploy-preview-3693--boosted.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@MaxLardenois MaxLardenois left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a question

Comment thread scss/_pagination.scss
// scss-docs-end pagination-css-vars

display: flex;
@include list-unstyled();

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason to move this?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, if I were to leave it as initially set, the bottom margin would be set to 0 instead of --#{$prefix}pagination-margin-y) (line 39)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes good point, wdyt about that @louismaximepiton?
People might not get that list-unstyled adds a margin-bottom. We might have to document this at least in migration?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I totally agree on this, we should probably add an info or warning level on the migration guide. But we don't have the mixins documented right now, so if people use them, it's probably that they know what they do. Probably an info level would be enough

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Info added to sass section of Migration from boosted

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I think we should add it in migration.mdx too in the future 1.5 version

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses issue #3611 by removing default bottom spacing from lists used by components like Breadcrumb, by adding margin-bottom: 0 to the shared list-unstyled mixin and adjusting affected component styles/output accordingly.

Changes:

  • Updated @mixin list-unstyled to reset margin-bottom to 0.
  • Removed now-redundant explicit margin-bottom: 0 in a few consumers and reordered @include list-unstyled() in pagination to avoid overriding pagination margins.
  • Updated SCSS snapshot outputs to reflect the new generated CSS.

Reviewed changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
site/src/scss/_toc.scss Removes redundant margin-bottom: 0 now handled by list-unstyled.
scss/mixins/_lists.scss Adds margin-bottom: 0 to list-unstyled mixin (core behavior change).
scss/_pagination.scss Moves @include list-unstyled() earlier so pagination’s margin: isn’t overridden.
scss/_navbar.scss Removes redundant margin-bottom: 0 now handled by list-unstyled.
scss/tests/snapshot-tests/snapshots/ouds-web.css Updates expected compiled CSS snapshot for new list styles/order.
scss/tests/snapshot-tests/snapshots/ouds-web-bootstrap.css Updates expected compiled CSS snapshot for new list styles/order.
Files not reviewed (2)
  • scss/tests/snapshot-tests/snapshots/ouds-web-bootstrap.css: Generated file
  • scss/tests/snapshot-tests/snapshots/ouds-web.css: Generated file

Comment thread scss/mixins/_lists.scss Outdated
Comment thread scss/mixins/_lists.scss
Comment thread scss/_pagination.scss
// scss-docs-end pagination-css-vars

display: flex;
@include list-unstyled();

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I totally agree on this, we should probably add an info or warning level on the migration guide. But we don't have the mixins documented right now, so if people use them, it's probably that they know what they do. Probably an info level would be enough

@duvalale
duvalale force-pushed the main-ad-breadcrumb-margin-bottom branch from 2124571 to 454f925 Compare July 16, 2026 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Need Lead Dev Review

Development

Successfully merging this pull request may close these issues.

[OUDS] Remove margin-bottom on Breadcrumb

5 participants