From 05a7245fe6c10ec3a06e93addd3ade8b285f79e8 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 28 Aug 2018 17:43:04 +0800 Subject: [PATCH] restore less css module className --- src/components/SettingDrawer/ThemeColor.js | 2 +- src/components/SettingDrawer/ThemeColor.less | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/SettingDrawer/ThemeColor.js b/src/components/SettingDrawer/ThemeColor.js index bf5bb709..f70bd4f8 100644 --- a/src/components/SettingDrawer/ThemeColor.js +++ b/src/components/SettingDrawer/ThemeColor.js @@ -30,7 +30,7 @@ const ThemeColor = ({ colors, title, value, onChange }) => { ]; } return ( -
+

{title}

{colorList.map(color => { diff --git a/src/components/SettingDrawer/ThemeColor.less b/src/components/SettingDrawer/ThemeColor.less index 89e893fe..4983eb9c 100644 --- a/src/components/SettingDrawer/ThemeColor.less +++ b/src/components/SettingDrawer/ThemeColor.less @@ -1,4 +1,4 @@ -.primaryColor { +.themeColor { overflow: hidden; margin-top: 24px; .title { -- GitLab