[F] Screen too small cases

This commit is contained in:
Hykilpikonna
2019-12-23 11:11:26 -05:00
parent f1566d555d
commit c1097b5267
+3
View File
@@ -14,6 +14,9 @@ export default class Responsive
getBlockWidth(currentWidth: number)
{
// Screen too small
if (currentWidth < vhToPx(this.margin) * 2 + this.minWidth) return this.minWidth;
// Loop through all the possible numbers on screen
[1, 2, 3, 4, 5, 6].forEach(i =>
{