jqh 5 年之前
父節點
當前提交
d58aab2661
共有 3 個文件被更改,包括 5 次插入3 次删除
  1. 1 1
      resources/assets/dcat/sass/components/_box.scss
  2. 1 1
      resources/dist/dcat/css/dcat-app.css
  3. 3 1
      src/Layout/Assets.php

+ 1 - 1
resources/assets/dcat/sass/components/_box.scss

@@ -20,7 +20,7 @@
   align-items: center;
 
   h3, .h3 {
-    font-size: 1.25rem;
+    font-size: 1.15rem;
     margin-bottom: 0;
   }
 }

+ 1 - 1
resources/dist/dcat/css/dcat-app.css

@@ -2569,7 +2569,7 @@ table.dataTable.complex-headers tfoot td {
 
 .box-header h3,
 .box-header .h3 {
-  font-size: 1.25rem;
+  font-size: 1.15rem;
   margin-bottom: 0;
 }
 

+ 3 - 1
src/Layout/Assets.php

@@ -402,7 +402,9 @@ class Assets
     public function url($path, string $type = 'js')
     {
         if (empty($this->alias[$path])) {
-            return admin_asset($path);
+            return admin_asset(
+                $this->getRealPath($path)
+            );
         }
 
         $paths = isset($this->alias[$path][$type]) ? (array) $this->alias[$path][$type] : null;