We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94af683 commit 0854481Copy full SHA for 0854481
packages/tailwindcss/src/utils/compare.ts
@@ -40,6 +40,10 @@ export function compare(a: string, z: string) {
40
if (aNumber < zNumber) return -1
41
if (aNumber > zNumber) return 1
42
43
+ // Continue with the next character otherwise short strings will appear
44
+ // after long ones when containing numbers. E.g.:
45
+ // - bg-red-500/70
46
+ // - bg-red-500
47
continue
48
}
49
0 commit comments