Browse Source

set the left and right to 0

master
farhan 4 months ago
parent
commit
35c680ec48
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      resources/js/app.js

+ 2
- 0
resources/js/app.js View File

74
         if (isLeftOffScreen && left < 0) {
74
         if (isLeftOffScreen && left < 0) {
75
             $('.parent').removeClass(['z-30']);
75
             $('.parent').removeClass(['z-30']);
76
         } else {
76
         } else {
77
+            $('.left').css('left', 0 + "px");
78
+            $('.right').css('right', 0 + "px");
77
             $('.parent').addClass(['z-30']);
79
             $('.parent').addClass(['z-30']);
78
         }
80
         }
79
     });
81
     });

Loading…
Cancel
Save