Skip to content

Commit 33bfb87

Browse files
committed
Make inset utilities customizable
1 parent 1940e31 commit 33bfb87

File tree

4 files changed

+362
-93
lines changed

4 files changed

+362
-93
lines changed

__tests__/fixtures/tailwind-output-important.css

+165-35
Original file line numberDiff line numberDiff line change
@@ -5667,20 +5667,20 @@ samp {
56675667
position: sticky !important;
56685668
}
56695669

5670-
.inset-auto {
5671-
top: auto !important;
5672-
right: auto !important;
5673-
bottom: auto !important;
5674-
left: auto !important;
5675-
}
5676-
56775670
.inset-0 {
56785671
top: 0 !important;
56795672
right: 0 !important;
56805673
bottom: 0 !important;
56815674
left: 0 !important;
56825675
}
56835676

5677+
.inset-auto {
5678+
top: auto !important;
5679+
right: auto !important;
5680+
bottom: auto !important;
5681+
left: auto !important;
5682+
}
5683+
56845684
.inset-y-0 {
56855685
top: 0 !important;
56865686
bottom: 0 !important;
@@ -5691,6 +5691,16 @@ samp {
56915691
left: 0 !important;
56925692
}
56935693

5694+
.inset-y-auto {
5695+
top: auto !important;
5696+
bottom: auto !important;
5697+
}
5698+
5699+
.inset-x-auto {
5700+
right: auto !important;
5701+
left: auto !important;
5702+
}
5703+
56945704
.top-0 {
56955705
top: 0 !important;
56965706
}
@@ -5707,6 +5717,22 @@ samp {
57075717
left: 0 !important;
57085718
}
57095719

5720+
.top-auto {
5721+
top: auto !important;
5722+
}
5723+
5724+
.right-auto {
5725+
right: auto !important;
5726+
}
5727+
5728+
.bottom-auto {
5729+
bottom: auto !important;
5730+
}
5731+
5732+
.left-auto {
5733+
left: auto !important;
5734+
}
5735+
57105736
.resize-none {
57115737
resize: none !important;
57125738
}
@@ -12416,20 +12442,20 @@ samp {
1241612442
position: sticky !important;
1241712443
}
1241812444

12419-
.sm\:inset-auto {
12420-
top: auto !important;
12421-
right: auto !important;
12422-
bottom: auto !important;
12423-
left: auto !important;
12424-
}
12425-
1242612445
.sm\:inset-0 {
1242712446
top: 0 !important;
1242812447
right: 0 !important;
1242912448
bottom: 0 !important;
1243012449
left: 0 !important;
1243112450
}
1243212451

12452+
.sm\:inset-auto {
12453+
top: auto !important;
12454+
right: auto !important;
12455+
bottom: auto !important;
12456+
left: auto !important;
12457+
}
12458+
1243312459
.sm\:inset-y-0 {
1243412460
top: 0 !important;
1243512461
bottom: 0 !important;
@@ -12440,6 +12466,16 @@ samp {
1244012466
left: 0 !important;
1244112467
}
1244212468

12469+
.sm\:inset-y-auto {
12470+
top: auto !important;
12471+
bottom: auto !important;
12472+
}
12473+
12474+
.sm\:inset-x-auto {
12475+
right: auto !important;
12476+
left: auto !important;
12477+
}
12478+
1244312479
.sm\:top-0 {
1244412480
top: 0 !important;
1244512481
}
@@ -12456,6 +12492,22 @@ samp {
1245612492
left: 0 !important;
1245712493
}
1245812494

12495+
.sm\:top-auto {
12496+
top: auto !important;
12497+
}
12498+
12499+
.sm\:right-auto {
12500+
right: auto !important;
12501+
}
12502+
12503+
.sm\:bottom-auto {
12504+
bottom: auto !important;
12505+
}
12506+
12507+
.sm\:left-auto {
12508+
left: auto !important;
12509+
}
12510+
1245912511
.sm\:resize-none {
1246012512
resize: none !important;
1246112513
}
@@ -19158,20 +19210,20 @@ samp {
1915819210
position: sticky !important;
1915919211
}
1916019212

19161-
.md\:inset-auto {
19162-
top: auto !important;
19163-
right: auto !important;
19164-
bottom: auto !important;
19165-
left: auto !important;
19166-
}
19167-
1916819213
.md\:inset-0 {
1916919214
top: 0 !important;
1917019215
right: 0 !important;
1917119216
bottom: 0 !important;
1917219217
left: 0 !important;
1917319218
}
1917419219

19220+
.md\:inset-auto {
19221+
top: auto !important;
19222+
right: auto !important;
19223+
bottom: auto !important;
19224+
left: auto !important;
19225+
}
19226+
1917519227
.md\:inset-y-0 {
1917619228
top: 0 !important;
1917719229
bottom: 0 !important;
@@ -19182,6 +19234,16 @@ samp {
1918219234
left: 0 !important;
1918319235
}
1918419236

19237+
.md\:inset-y-auto {
19238+
top: auto !important;
19239+
bottom: auto !important;
19240+
}
19241+
19242+
.md\:inset-x-auto {
19243+
right: auto !important;
19244+
left: auto !important;
19245+
}
19246+
1918519247
.md\:top-0 {
1918619248
top: 0 !important;
1918719249
}
@@ -19198,6 +19260,22 @@ samp {
1919819260
left: 0 !important;
1919919261
}
1920019262

19263+
.md\:top-auto {
19264+
top: auto !important;
19265+
}
19266+
19267+
.md\:right-auto {
19268+
right: auto !important;
19269+
}
19270+
19271+
.md\:bottom-auto {
19272+
bottom: auto !important;
19273+
}
19274+
19275+
.md\:left-auto {
19276+
left: auto !important;
19277+
}
19278+
1920119279
.md\:resize-none {
1920219280
resize: none !important;
1920319281
}
@@ -25900,20 +25978,20 @@ samp {
2590025978
position: sticky !important;
2590125979
}
2590225980

25903-
.lg\:inset-auto {
25904-
top: auto !important;
25905-
right: auto !important;
25906-
bottom: auto !important;
25907-
left: auto !important;
25908-
}
25909-
2591025981
.lg\:inset-0 {
2591125982
top: 0 !important;
2591225983
right: 0 !important;
2591325984
bottom: 0 !important;
2591425985
left: 0 !important;
2591525986
}
2591625987

25988+
.lg\:inset-auto {
25989+
top: auto !important;
25990+
right: auto !important;
25991+
bottom: auto !important;
25992+
left: auto !important;
25993+
}
25994+
2591725995
.lg\:inset-y-0 {
2591825996
top: 0 !important;
2591925997
bottom: 0 !important;
@@ -25924,6 +26002,16 @@ samp {
2592426002
left: 0 !important;
2592526003
}
2592626004

26005+
.lg\:inset-y-auto {
26006+
top: auto !important;
26007+
bottom: auto !important;
26008+
}
26009+
26010+
.lg\:inset-x-auto {
26011+
right: auto !important;
26012+
left: auto !important;
26013+
}
26014+
2592726015
.lg\:top-0 {
2592826016
top: 0 !important;
2592926017
}
@@ -25940,6 +26028,22 @@ samp {
2594026028
left: 0 !important;
2594126029
}
2594226030

26031+
.lg\:top-auto {
26032+
top: auto !important;
26033+
}
26034+
26035+
.lg\:right-auto {
26036+
right: auto !important;
26037+
}
26038+
26039+
.lg\:bottom-auto {
26040+
bottom: auto !important;
26041+
}
26042+
26043+
.lg\:left-auto {
26044+
left: auto !important;
26045+
}
26046+
2594326047
.lg\:resize-none {
2594426048
resize: none !important;
2594526049
}
@@ -32642,20 +32746,20 @@ samp {
3264232746
position: sticky !important;
3264332747
}
3264432748

32645-
.xl\:inset-auto {
32646-
top: auto !important;
32647-
right: auto !important;
32648-
bottom: auto !important;
32649-
left: auto !important;
32650-
}
32651-
3265232749
.xl\:inset-0 {
3265332750
top: 0 !important;
3265432751
right: 0 !important;
3265532752
bottom: 0 !important;
3265632753
left: 0 !important;
3265732754
}
3265832755

32756+
.xl\:inset-auto {
32757+
top: auto !important;
32758+
right: auto !important;
32759+
bottom: auto !important;
32760+
left: auto !important;
32761+
}
32762+
3265932763
.xl\:inset-y-0 {
3266032764
top: 0 !important;
3266132765
bottom: 0 !important;
@@ -32666,6 +32770,16 @@ samp {
3266632770
left: 0 !important;
3266732771
}
3266832772

32773+
.xl\:inset-y-auto {
32774+
top: auto !important;
32775+
bottom: auto !important;
32776+
}
32777+
32778+
.xl\:inset-x-auto {
32779+
right: auto !important;
32780+
left: auto !important;
32781+
}
32782+
3266932783
.xl\:top-0 {
3267032784
top: 0 !important;
3267132785
}
@@ -32682,6 +32796,22 @@ samp {
3268232796
left: 0 !important;
3268332797
}
3268432798

32799+
.xl\:top-auto {
32800+
top: auto !important;
32801+
}
32802+
32803+
.xl\:right-auto {
32804+
right: auto !important;
32805+
}
32806+
32807+
.xl\:bottom-auto {
32808+
bottom: auto !important;
32809+
}
32810+
32811+
.xl\:left-auto {
32812+
left: auto !important;
32813+
}
32814+
3268532815
.xl\:resize-none {
3268632816
resize: none !important;
3268732817
}

0 commit comments

Comments
 (0)