Browse Source

testing

master
farhan 4 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
 
72
 
73
         // Toggle visibility and z-index
73
         // Toggle visibility and z-index
74
         if (isLeftOffScreen && left < 0) {
74
         if (isLeftOffScreen && left < 0) {
75
+            $('.parent').addClass('fixed');
76
+            $('.parent').removeClass('absolute');
75
             $('.parent').removeClass('z-30');
77
             $('.parent').removeClass('z-30');
76
         } else {
78
         } else {
79
+            $('.parent').addClass('absolute');
80
+            $('.parent').removeClass('fixed');
77
             $('.parent').addClass('z-30');
81
             $('.parent').addClass('z-30');
78
         }
82
         }
79
     }
83
     }

Loading…
Cancel
Save