mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 02:54:11 +08:00
fix(css): box-shadow none handling (#10445)
closes https://github.com/NativeScript/NativeScript/issues/10403
This commit is contained in:
@ -37,11 +37,7 @@ export function parseCSSShorthand(value: string): {
|
||||
const first = parts[0];
|
||||
|
||||
if (['', 'none', 'unset'].includes(first)) {
|
||||
return {
|
||||
inset: false,
|
||||
color: undefined,
|
||||
values: [],
|
||||
};
|
||||
return null;
|
||||
} else {
|
||||
const invalidColors = ['inset', 'unset'];
|
||||
const inset = parts.includes('inset');
|
||||
|
Reference in New Issue
Block a user