소스 검색

Dev: hide phpdebugbar for parent (shell) frame

Vijayakrishnan 2 년 전
부모
커밋
1280893593
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6 1
      resources/views/app/mc.blade.php

+ 6 - 1
resources/views/app/mc.blade.php

@@ -14,8 +14,13 @@
     <link rel="stylesheet" href="{{ asset('/css/toastr.min.css') }}">
     <script src="{{ asset('js/toastr.min.js') }}" type="application/javascript"></script>
     <title>Leadership Health</title>
+    <style>
+        body.mc-parent>.phpdebugbar {
+            display: none !important;
+        }
+    </style>
 </head>
-<body class="h-100" data-pro-uid="{{$pro ? $pro->uid : ''}}">
+<body class="h-100 mc-parent" data-pro-uid="{{$pro ? $pro->uid : ''}}">
     <iframe id="stag_mcp_lhs" src="/blank" frameborder="0" class="h-100 w-100"></iframe>
     <div class="stag-video-bar collapsed d-none mcp-theme-1">
         <div class="bg-aliceblue d-flex align-items-center border-bottom p-2 stag-video-bar-header">