bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Add CSS breakpoint for modal.

Open hammad-521 opened this issue 1 year ago • 0 comments

Description

Added CSS variables for modal width breakpoints and refactored the modal-test.html file to demonstrate different modal sizes.

Motivation & Context

This change allows users to set different breakpoints for different modals using CSS variables, rather than just globally with SCSS variables. It provides more flexibility in customizing modal sizes across different use cases.

Type of changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [x] Refactoring (non-breaking change)
  • [ ] Breaking change (fix or feature that would change existing functionality)

Checklist

  • [x] I have read the contributing guidelines
  • [x] My code follows the code style of the project (using npm run lint)
  • [x] My change introduces changes to the documentation
  • [x] I have updated the documentation accordingly
  • [x] I have added tests to cover my changes
  • [x] All new and existing tests passed

Live previews

hammad-521 avatar Sep 03 '24 09:09 hammad-521