File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2121- Increase default values for ` grid-rows-* ` utilities from 1–6 to 1–12 ([ #12180 ] ( https://github.com/tailwindlabs/tailwindcss/pull/12180 ) )
2222- Add ` size-* ` utilities ([ #12287 ] ( https://github.com/tailwindlabs/tailwindcss/pull/12287 ) )
2323- Add utilities for CSS subgrid ([ #12298 ] ( https://github.com/tailwindlabs/tailwindcss/pull/12298 ) )
24+ - Add spacing scale to ` min-w-* ` , ` min-h-* ` , and ` max-w-* ` utilities ([ #12300 ] ( https://github.com/tailwindlabs/tailwindcss/pull/12300 ) )
2425
2526## [ 3.3.6] - 2023-12-04
2627
Original file line number Diff line number Diff line change @@ -658,8 +658,8 @@ module.exports = {
658658 fit : 'fit-content' ,
659659 } ) ,
660660 maxWidth : ( { theme, breakpoints } ) => ( {
661+ ...theme ( 'spacing' ) ,
661662 none : 'none' ,
662- 0 : '0rem' ,
663663 xs : '20rem' ,
664664 sm : '24rem' ,
665665 md : '28rem' ,
@@ -678,8 +678,8 @@ module.exports = {
678678 prose : '65ch' ,
679679 ...breakpoints ( theme ( 'screens' ) ) ,
680680 } ) ,
681- minHeight : {
682- 0 : '0px' ,
681+ minHeight : ( { theme } ) => ( {
682+ ... theme ( 'spacing' ) ,
683683 full : '100%' ,
684684 screen : '100vh' ,
685685 svh : '100svh' ,
@@ -688,14 +688,14 @@ module.exports = {
688688 min : 'min-content' ,
689689 max : 'max-content' ,
690690 fit : 'fit-content' ,
691- } ,
692- minWidth : {
693- 0 : '0px' ,
691+ } ) ,
692+ minWidth : ( { theme } ) => ( {
693+ ... theme ( 'spacing' ) ,
694694 full : '100%' ,
695695 min : 'min-content' ,
696696 max : 'max-content' ,
697697 fit : 'fit-content' ,
698- } ,
698+ } ) ,
699699 objectPosition : {
700700 bottom : 'bottom' ,
701701 center : 'center' ,
You can’t perform that action at this time.
0 commit comments