Parcourir la source

#991 Categories container doesn't resize to match the words on mobile

Alex Trofimov il y a 9 ans
Parent
commit
e5bfa78867
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      template/_layout_align_columns.html

+ 3 - 0
template/_layout_align_columns.html

@@ -1,5 +1,8 @@
 <script>
     $(document).ready(function () {
+        if ($(window).width() <= 720)
+            return;
+
     	var iTimeout = 500;
     	var oLevelCells = function(iCellSmall, iCellLarge) {
             $('#bx-layout-cell-' + iCellSmall + ' .bx-db-container').css('height', $('#bx-layout-cell-' + iCellLarge + ' .bx-db-container').height());