Skip to content

Commit

Permalink
fix: position linter for quickapp 1060+
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakaryCode authored and luckyadam committed Dec 26, 2019
1 parent 1c37295 commit 22efa4d
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ export default {
'position': (value, declaration, addDeclaration) => {
if (value === 'static') {
declaration.value = 'none'
} else if (value === 'absolute') {
return 'E:'
} else if (value === 'absolute' || value === 'relative') {
// https://doc.quickapp.cn/widgets/common-styles.html?h=position
return '' // E:
} else if (value !== 'fixed') {
return 'I:'
}
Expand Down

0 comments on commit 22efa4d

Please sign in to comment.