File tree 2 files changed +8
-7
lines changed
2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
17
17
- Increase default values for ` grid-rows-* ` utilities from 1–6 to 1–12 ([ #12180 ] ( https://github.com/tailwindlabs/tailwindcss/pull/12180 ) )
18
18
- Add ` size-* ` utilities ([ #12287 ] ( https://github.com/tailwindlabs/tailwindcss/pull/12287 ) )
19
19
- Add utilities for CSS subgrid ([ #12298 ] ( https://github.com/tailwindlabs/tailwindcss/pull/12298 ) )
20
+ - Add spacing scale to ` min-w-* ` , ` min-h-* ` , and ` max-w-* ` utilities ([ #12300 ] ( https://github.com/tailwindlabs/tailwindcss/pull/12300 ) )
20
21
21
22
22
23
## [ 3.3.6] - 2023-12-04
Original file line number Diff line number Diff line change @@ -658,8 +658,8 @@ module.exports = {
658
658
fit : 'fit-content' ,
659
659
} ) ,
660
660
maxWidth : ( { theme, breakpoints } ) => ( {
661
+ ...theme ( 'spacing' ) ,
661
662
none : 'none' ,
662
- 0 : '0rem' ,
663
663
xs : '20rem' ,
664
664
sm : '24rem' ,
665
665
md : '28rem' ,
@@ -678,8 +678,8 @@ module.exports = {
678
678
prose : '65ch' ,
679
679
...breakpoints ( theme ( 'screens' ) ) ,
680
680
} ) ,
681
- minHeight : {
682
- 0 : '0px' ,
681
+ minHeight : ( { theme } ) => ( {
682
+ ... theme ( 'spacing' ) ,
683
683
full : '100%' ,
684
684
screen : '100vh' ,
685
685
svh : '100svh' ,
@@ -688,14 +688,14 @@ module.exports = {
688
688
min : 'min-content' ,
689
689
max : 'max-content' ,
690
690
fit : 'fit-content' ,
691
- } ,
692
- minWidth : {
693
- 0 : '0px' ,
691
+ } ) ,
692
+ minWidth : ( { theme } ) => ( {
693
+ ... theme ( 'spacing' ) ,
694
694
full : '100%' ,
695
695
min : 'min-content' ,
696
696
max : 'max-content' ,
697
697
fit : 'fit-content' ,
698
- } ,
698
+ } ) ,
699
699
objectPosition : {
700
700
bottom : 'bottom' ,
701
701
center : 'center' ,
You can’t perform that action at this time.
0 commit comments