Skip to content

Commit 4ed557e

Browse files
committed
Use progressive maxWidth scale
1 parent 2fd9dc5 commit 4ed557e

3 files changed

Lines changed: 211 additions & 88 deletions

File tree

__tests__/fixtures/tailwind-output-important.css

Lines changed: 100 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -3730,35 +3730,47 @@ table {
37303730
}
37313731

37323732
.max-w-sm {
3733-
max-width: 30rem !important;
3733+
max-width: 24rem !important;
37343734
}
37353735

37363736
.max-w-md {
3737-
max-width: 40rem !important;
3737+
max-width: 28rem !important;
37383738
}
37393739

37403740
.max-w-lg {
3741-
max-width: 50rem !important;
3741+
max-width: 32rem !important;
37423742
}
37433743

37443744
.max-w-xl {
3745-
max-width: 60rem !important;
3745+
max-width: 36rem !important;
37463746
}
37473747

37483748
.max-w-2xl {
3749-
max-width: 70rem !important;
3749+
max-width: 42rem !important;
37503750
}
37513751

37523752
.max-w-3xl {
3753-
max-width: 80rem !important;
3753+
max-width: 48rem !important;
37543754
}
37553755

37563756
.max-w-4xl {
3757-
max-width: 90rem !important;
3757+
max-width: 56rem !important;
37583758
}
37593759

37603760
.max-w-5xl {
3761-
max-width: 100rem !important;
3761+
max-width: 64rem !important;
3762+
}
3763+
3764+
.max-w-7xl {
3765+
max-width: 72rem !important;
3766+
}
3767+
3768+
.max-w-8xl {
3769+
max-width: 80rem !important;
3770+
}
3771+
3772+
.max-w-9xl {
3773+
max-width: 90rem !important;
37623774
}
37633775

37643776
.max-w-full {
@@ -9815,35 +9827,47 @@ table {
98159827
}
98169828

98179829
.sm\:max-w-sm {
9818-
max-width: 30rem !important;
9830+
max-width: 24rem !important;
98199831
}
98209832

98219833
.sm\:max-w-md {
9822-
max-width: 40rem !important;
9834+
max-width: 28rem !important;
98239835
}
98249836

98259837
.sm\:max-w-lg {
9826-
max-width: 50rem !important;
9838+
max-width: 32rem !important;
98279839
}
98289840

98299841
.sm\:max-w-xl {
9830-
max-width: 60rem !important;
9842+
max-width: 36rem !important;
98319843
}
98329844

98339845
.sm\:max-w-2xl {
9834-
max-width: 70rem !important;
9846+
max-width: 42rem !important;
98359847
}
98369848

98379849
.sm\:max-w-3xl {
9838-
max-width: 80rem !important;
9850+
max-width: 48rem !important;
98399851
}
98409852

98419853
.sm\:max-w-4xl {
9842-
max-width: 90rem !important;
9854+
max-width: 56rem !important;
98439855
}
98449856

98459857
.sm\:max-w-5xl {
9846-
max-width: 100rem !important;
9858+
max-width: 64rem !important;
9859+
}
9860+
9861+
.sm\:max-w-7xl {
9862+
max-width: 72rem !important;
9863+
}
9864+
9865+
.sm\:max-w-8xl {
9866+
max-width: 80rem !important;
9867+
}
9868+
9869+
.sm\:max-w-9xl {
9870+
max-width: 90rem !important;
98479871
}
98489872

98499873
.sm\:max-w-full {
@@ -15885,35 +15909,47 @@ table {
1588515909
}
1588615910

1588715911
.md\:max-w-sm {
15888-
max-width: 30rem !important;
15912+
max-width: 24rem !important;
1588915913
}
1589015914

1589115915
.md\:max-w-md {
15892-
max-width: 40rem !important;
15916+
max-width: 28rem !important;
1589315917
}
1589415918

1589515919
.md\:max-w-lg {
15896-
max-width: 50rem !important;
15920+
max-width: 32rem !important;
1589715921
}
1589815922

1589915923
.md\:max-w-xl {
15900-
max-width: 60rem !important;
15924+
max-width: 36rem !important;
1590115925
}
1590215926

1590315927
.md\:max-w-2xl {
15904-
max-width: 70rem !important;
15928+
max-width: 42rem !important;
1590515929
}
1590615930

1590715931
.md\:max-w-3xl {
15908-
max-width: 80rem !important;
15932+
max-width: 48rem !important;
1590915933
}
1591015934

1591115935
.md\:max-w-4xl {
15912-
max-width: 90rem !important;
15936+
max-width: 56rem !important;
1591315937
}
1591415938

1591515939
.md\:max-w-5xl {
15916-
max-width: 100rem !important;
15940+
max-width: 64rem !important;
15941+
}
15942+
15943+
.md\:max-w-7xl {
15944+
max-width: 72rem !important;
15945+
}
15946+
15947+
.md\:max-w-8xl {
15948+
max-width: 80rem !important;
15949+
}
15950+
15951+
.md\:max-w-9xl {
15952+
max-width: 90rem !important;
1591715953
}
1591815954

1591915955
.md\:max-w-full {
@@ -21955,35 +21991,47 @@ table {
2195521991
}
2195621992

2195721993
.lg\:max-w-sm {
21958-
max-width: 30rem !important;
21994+
max-width: 24rem !important;
2195921995
}
2196021996

2196121997
.lg\:max-w-md {
21962-
max-width: 40rem !important;
21998+
max-width: 28rem !important;
2196321999
}
2196422000

2196522001
.lg\:max-w-lg {
21966-
max-width: 50rem !important;
22002+
max-width: 32rem !important;
2196722003
}
2196822004

2196922005
.lg\:max-w-xl {
21970-
max-width: 60rem !important;
22006+
max-width: 36rem !important;
2197122007
}
2197222008

2197322009
.lg\:max-w-2xl {
21974-
max-width: 70rem !important;
22010+
max-width: 42rem !important;
2197522011
}
2197622012

2197722013
.lg\:max-w-3xl {
21978-
max-width: 80rem !important;
22014+
max-width: 48rem !important;
2197922015
}
2198022016

2198122017
.lg\:max-w-4xl {
21982-
max-width: 90rem !important;
22018+
max-width: 56rem !important;
2198322019
}
2198422020

2198522021
.lg\:max-w-5xl {
21986-
max-width: 100rem !important;
22022+
max-width: 64rem !important;
22023+
}
22024+
22025+
.lg\:max-w-7xl {
22026+
max-width: 72rem !important;
22027+
}
22028+
22029+
.lg\:max-w-8xl {
22030+
max-width: 80rem !important;
22031+
}
22032+
22033+
.lg\:max-w-9xl {
22034+
max-width: 90rem !important;
2198722035
}
2198822036

2198922037
.lg\:max-w-full {
@@ -28025,35 +28073,47 @@ table {
2802528073
}
2802628074

2802728075
.xl\:max-w-sm {
28028-
max-width: 30rem !important;
28076+
max-width: 24rem !important;
2802928077
}
2803028078

2803128079
.xl\:max-w-md {
28032-
max-width: 40rem !important;
28080+
max-width: 28rem !important;
2803328081
}
2803428082

2803528083
.xl\:max-w-lg {
28036-
max-width: 50rem !important;
28084+
max-width: 32rem !important;
2803728085
}
2803828086

2803928087
.xl\:max-w-xl {
28040-
max-width: 60rem !important;
28088+
max-width: 36rem !important;
2804128089
}
2804228090

2804328091
.xl\:max-w-2xl {
28044-
max-width: 70rem !important;
28092+
max-width: 42rem !important;
2804528093
}
2804628094

2804728095
.xl\:max-w-3xl {
28048-
max-width: 80rem !important;
28096+
max-width: 48rem !important;
2804928097
}
2805028098

2805128099
.xl\:max-w-4xl {
28052-
max-width: 90rem !important;
28100+
max-width: 56rem !important;
2805328101
}
2805428102

2805528103
.xl\:max-w-5xl {
28056-
max-width: 100rem !important;
28104+
max-width: 64rem !important;
28105+
}
28106+
28107+
.xl\:max-w-7xl {
28108+
max-width: 72rem !important;
28109+
}
28110+
28111+
.xl\:max-w-8xl {
28112+
max-width: 80rem !important;
28113+
}
28114+
28115+
.xl\:max-w-9xl {
28116+
max-width: 90rem !important;
2805728117
}
2805828118

2805928119
.xl\:max-w-full {

0 commit comments

Comments
 (0)