Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

Commit

Permalink
Fixed a bug related to styling
Browse files Browse the repository at this point in the history
  • Loading branch information
RiadhAdrani committed Dec 15, 2021
1 parent 845a23b commit d0f5da2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions createcomponent/tools/Render.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ export default {
}

if (component.inlineStyle) {
Style.applyInline(component.inlineStyle, render.style);
// applyinlinestyle(component.inlineStyle, render.style);
Style.applyInline(component.inlineStyle, element.style);
}
},
/**
Expand Down
2 changes: 2 additions & 0 deletions vdom/HandleStyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ export default {
* @param {JSON} cssobject static style object
*/
exportStatic: function (cssobject) {
if (!cssobject) return;

let output = "\n";

if (cssobject["import"]) {
Expand Down

0 comments on commit d0f5da2

Please sign in to comment.