Skip to content

Go to and page size components look weird with boostrap 5.0 #423

@garberlog

Description

@garberlog

Describe the bug
bootstrap 5.x added a section in it's css that effects row>* which causes visual issues with the page size change and page Goto components of grid.blazor 6.x.

To Reproduce
Using version 6.x of grid.blazor and bootstrap 5.x.
When you have a grid that has more than one page or customizable page sizes, the "width: 100%" attribute that now applies to row>* (added in bootstrap 5.0) messes with the formatting of these components.
The following screenshots show the issues as presented and the section of the css style that are causing the issue. if you remove the "width: 100%" attribute the issue gets resolved.
Image
Image

Expected behavior
these components are supposed to look like this screenshot, or at least they do when in bootstrap 4.x:
Image

Desktop.

  • OS: Windows 11
  • Browser: Chrome
  • Version: 128.0.6613.120
  • Browser: Firefox
  • Version: 134.0.1
  • Browser: Edge
  • Version: 128.0.2739.79

Additional info*
This is purely a visual bug and not a functionality bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions