Merge pull request #419 from webzard-io/feat/windlike-patch

feat: increasing the customStyle's priority
This commit is contained in:
tanbowensg 2022-05-26 14:27:38 +08:00 committed by GitHub
commit 6a26e1a4e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ export default implementRuntimeTrait({
customStyle[styleSlot] = '';
}
// add a ';' between css texts, in case user forgets to add ';' in the end
customStyle[styleSlot] = `${customStyle[styleSlot]};${style}`;
customStyle[styleSlot] = `&&& {${customStyle[styleSlot]};${style}}`;
});
return {
props: {