mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2025-04-06 21:40:23 +08:00
Merge pull request #730 from smartxworks/bowen/css
fix(runtime): increase priority of style trait
This commit is contained in:
commit
b55df8d29f
@ -31,7 +31,7 @@ export default implementRuntimeTrait({
|
||||
}
|
||||
const cssPropertiesStr = convertCssObjToText(cssProperties || {});
|
||||
// add a ';' between css texts, in case user forgets to add ';' in the end
|
||||
result[styleSlot] = `&&& {${result[styleSlot]};${style};${cssPropertiesStr}}`;
|
||||
result[styleSlot] = `.App &&& {${result[styleSlot]};${style};${cssPropertiesStr}}`;
|
||||
return result;
|
||||
}, {} as Record<string, string>);
|
||||
return {
|
||||
|
Loading…
x
Reference in New Issue
Block a user