Browse Source

testing

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

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

@@ -72,8 +72,12 @@ $(function() {
72 72
 
73 73
         // Toggle visibility and z-index
74 74
         if (isLeftOffScreen && left < 0) {
75
+            $('.parent').addClass('fixed');
76
+            $('.parent').removeClass('absolute');
75 77
             $('.parent').removeClass('z-30');
76 78
         } else {
79
+            $('.parent').addClass('absolute');
80
+            $('.parent').removeClass('fixed');
77 81
             $('.parent').addClass('z-30');
78 82
         }
79 83
     }

Loading…
Cancel
Save