瀏覽代碼

书名背景色灰色

visuddhinanda 2 年之前
父節點
當前提交
2e79e298f9
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      dashboard/src/components/corpus/TocPath.tsx

+ 2 - 2
dashboard/src/components/corpus/TocPath.tsx

@@ -96,8 +96,8 @@ const TocPathWidget = ({
                   style={
                     item.level === 0
                       ? {
-                          padding: 4,
-                          backgroundColor: "#92880052",
+                          padding: "0 4px",
+                          backgroundColor: "rgba(128, 128, 128, 0.2)",
                           borderRadius: 4,
                         }
                       : undefined