瀏覽代碼

wip label

jqh 4 年之前
父節點
當前提交
23e45a890d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Grid/Displayers/Label.php

+ 1 - 1
src/Grid/Displayers/Label.php

@@ -31,7 +31,7 @@ class Label extends AbstractDisplayer
 
     protected function formatStyle($style)
     {
-        $background = '#d2d6de';
+        $background = 'style="background:#d2d6de;color: #555"';
 
         if ($style !== 'default') {
             $style = Admin::color()->get($style, $style);