Browse Source

set the left and right to 0

master
farhan 5 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,6 +74,8 @@ $(function() {
74 74
         if (isLeftOffScreen && left < 0) {
75 75
             $('.parent').removeClass(['z-30']);
76 76
         } else {
77
+            $('.left').css('left', 0 + "px");
78
+            $('.right').css('right', 0 + "px");
77 79
             $('.parent').addClass(['z-30']);
78 80
         }
79 81
     });

Loading…
Cancel
Save