File tree Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -4562,6 +4562,7 @@ exports[`getClassList 1`] = `
4562
4562
"h-dvw",
4563
4563
"h-fit",
4564
4564
"h-full",
4565
+ "h-lh",
4565
4566
"h-lvh",
4566
4567
"h-lvw",
4567
4568
"h-max",
@@ -7482,6 +7483,7 @@ exports[`getClassList 1`] = `
7482
7483
"max-h-dvw",
7483
7484
"max-h-fit",
7484
7485
"max-h-full",
7486
+ "max-h-lh",
7485
7487
"max-h-lvh",
7486
7488
"max-h-lvw",
7487
7489
"max-h-max",
@@ -7703,6 +7705,7 @@ exports[`getClassList 1`] = `
7703
7705
"min-h-dvw",
7704
7706
"min-h-fit",
7705
7707
"min-h-full",
7708
+ "min-h-lh",
7706
7709
"min-h-lvh",
7707
7710
"min-h-lvw",
7708
7711
"min-h-max",
Original file line number Diff line number Diff line change @@ -2917,6 +2917,7 @@ test('height', async () => {
2917
2917
'h-lvh',
2918
2918
'h-dvh',
2919
2919
'h-min',
2920
+ 'h-lh',
2920
2921
'h-max',
2921
2922
'h-fit',
2922
2923
'h-4',
@@ -2957,6 +2958,10 @@ test('height', async () => {
2957
2958
height: 100%;
2958
2959
}
2959
2960
2961
+ .h-lh {
2962
+ height: 1lh;
2963
+ }
2964
+
2960
2965
.h-lvh {
2961
2966
height: 100lvh;
2962
2967
}
@@ -2993,6 +2998,7 @@ test('height', async () => {
2993
2998
'h-svh/foo',
2994
2999
'h-lvh/foo',
2995
3000
'h-dvh/foo',
3001
+ 'h-lh/foo',
2996
3002
'h-min/foo',
2997
3003
'h-max/foo',
2998
3004
'h-fit/foo',
@@ -3020,6 +3026,7 @@ test('min-height', async () => {
3020
3026
'min-h-lvh',
3021
3027
'min-h-dvh',
3022
3028
'min-h-min',
3029
+ 'min-h-lh',
3023
3030
'min-h-max',
3024
3031
'min-h-fit',
3025
3032
'min-h-4',
@@ -3055,6 +3062,10 @@ test('min-height', async () => {
3055
3062
min-height: 100%;
3056
3063
}
3057
3064
3065
+ .min-h-lh {
3066
+ min-height: 1lh;
3067
+ }
3068
+
3058
3069
.min-h-lvh {
3059
3070
min-height: 100lvh;
3060
3071
}
@@ -3086,6 +3097,7 @@ test('min-height', async () => {
3086
3097
'min-h-svh/foo',
3087
3098
'min-h-lvh/foo',
3088
3099
'min-h-dvh/foo',
3100
+ 'min-h-lh/foo',
3089
3101
'min-h-min/foo',
3090
3102
'min-h-max/foo',
3091
3103
'min-h-fit/foo',
@@ -3111,6 +3123,7 @@ test('max-height', async () => {
3111
3123
'max-h-svh',
3112
3124
'max-h-lvh',
3113
3125
'max-h-dvh',
3126
+ 'max-h-lh',
3114
3127
'max-h-min',
3115
3128
'max-h-max',
3116
3129
'max-h-fit',
@@ -3143,6 +3156,10 @@ test('max-height', async () => {
3143
3156
max-height: 100%;
3144
3157
}
3145
3158
3159
+ .max-h-lh {
3160
+ max-height: 1lh;
3161
+ }
3162
+
3146
3163
.max-h-lvh {
3147
3164
max-height: 100lvh;
3148
3165
}
@@ -3179,6 +3196,7 @@ test('max-height', async () => {
3179
3196
'max-h-svh/foo',
3180
3197
'max-h-lvh/foo',
3181
3198
'max-h-dvh/foo',
3199
+ 'max-h-lh/foo',
3182
3200
'max-h-min/foo',
3183
3201
'max-h-max/foo',
3184
3202
'max-h-fit/foo',
Original file line number Diff line number Diff line change @@ -976,6 +976,11 @@ export function createUtilities(theme: Theme) {
976
976
staticUtility ( `h-auto` , [ [ 'height' , 'auto' ] ] )
977
977
staticUtility ( `min-w-auto` , [ [ 'min-width' , 'auto' ] ] )
978
978
staticUtility ( `min-h-auto` , [ [ 'min-height' , 'auto' ] ] )
979
+
980
+ staticUtility ( `h-lh` , [ [ 'height' , '1lh' ] ] )
981
+ staticUtility ( `min-h-lh` , [ [ 'min-height' , '1lh' ] ] )
982
+ staticUtility ( `max-h-lh` , [ [ 'max-height' , '1lh' ] ] )
983
+
979
984
staticUtility ( `w-screen` , [ [ 'width' , '100vw' ] ] )
980
985
staticUtility ( `min-w-screen` , [ [ 'min-width' , '100vw' ] ] )
981
986
staticUtility ( `max-w-screen` , [ [ 'max-width' , '100vw' ] ] )
You can’t perform that action at this time.
0 commit comments