File tree Expand file tree Collapse file tree
components/containers/Container Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -173,3 +173,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
173173 - Container
174174- Updated ContactUsForm's checkbox wrapper from div to label to enhance its accessibility
175175- Updated SearchInput width to 100% for better styling
176+ - Reverted the prop name to styles in Container component as the change of the name introduced a styling bug
Original file line number Diff line number Diff line change 11import styles from './Container.module.scss' ;
22
3- export default function Container ( { className, children, style } ) {
3+ export default function Container ( { className, children, styles : propStyles } ) {
44 return (
5- < div className = { `${ styles . container } ${ className || '' } ` } style = { style } >
5+ < div
6+ className = { `${ styles . container } ${ className || '' } ` }
7+ style = { propStyles }
8+ >
69 { children }
710 </ div >
811 ) ;
You can’t perform that action at this time.
0 commit comments