feat: allow switching between max-width and min-width
#2127
+217
−12
max-width and min-width
#2127