fix(button): ghost style

This commit is contained in:
Vben 2021-04-19 23:51:43 +08:00
parent 38f5072695
commit f4af231172
2 changed files with 6 additions and 4 deletions

View File

@ -13,8 +13,10 @@ export function configHmrPlugin(): Plugin {
if (file.match(/xml$/)) return [];
modules.forEach((m) => {
m.importedModules = new Set();
m.importers = new Set();
if (!m.url.match(/\.(css|less)/)) {
m.importedModules = new Set();
m.importers = new Set();
}
});
return modules;

View File

@ -185,7 +185,7 @@
}
}
&-ghost {
&-background-ghost {
color: @button-ghost-color;
background-color: transparent;
border-color: @button-ghost-color;
@ -193,7 +193,7 @@
&:hover,
&:focus {
color: @button-ghost-hover-color;
color: @button-ghost-hover-color !important;
background-color: @button-ghost-hover-bg-color;
border-color: @button-ghost-hover-color;
}