]> _ Git - fluidbook-toolbox.git/commitdiff
wait #6854 fix
authorsoufiane <soufiane@cubedesigners.com>
Mon, 15 Apr 2024 15:40:46 +0000 (17:40 +0200)
committersoufiane <soufiane@cubedesigners.com>
Mon, 15 Apr 2024 15:40:46 +0000 (17:40 +0200)
public/packages/fluidbook/toolbox/css/style.less
resources/views/vendor/backpack/base/layouts/top_left.blade.php

index 1a076b48dd4e4823d9b045ba2e65666b80611f6a..2d1a6d4e76c3e104bf9c2b6f2f5e508dd2a54894 100644 (file)
@@ -532,7 +532,7 @@ table.dataTable thead .sorting::before, table.dataTable thead .sorting::after, t
     }
 }
 
-.editview #form_shortcuts a.bold {
+.editview #form_shortcuts a.active {
     font-weight: bold;
 }
 
index 89d1f272a5afeaf2f9e2ed7c39b31352cc82b665..0778e59834dd190e630e2467e8a7b6f87d159172 100644 (file)
 
 @include(backpack_view('inc.main_header'))
 
-@php($editview = $crud->entry instanceof \App\Models\FluidbookPublication && $crud->getCurrentOperation() === "update")
+@php
+    $editview = false;
+    if(isset($crud)) {
+        $editview = $crud->entry instanceof \App\Models\FluidbookPublication && $crud->getCurrentOperation() === "update";
+    }
+@endphp
 
 <div @class(['app-body','editview'=> $editview])>