🌐 AI搜索 & 代理 主页
Skip to content

Commit f997241

Browse files
enbomgol
authored andcommitted
CSS: Don't auto-append "px" to possibly-unitless CSS grid properties
This commit adds some CSS grid-related properties to jQuery.cssNumber. Fixes gh-4007
1 parent 6153eb0 commit f997241

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/css.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,13 @@ jQuery.extend( {
194194
"flexGrow": true,
195195
"flexShrink": true,
196196
"fontWeight": true,
197+
"gridArea": true,
198+
"gridColumn": true,
199+
"gridColumnEnd": true,
200+
"gridColumnStart": true,
201+
"gridRow": true,
202+
"gridRowEnd": true,
203+
"gridRowStart": true,
197204
"lineHeight": true,
198205
"opacity": true,
199206
"order": true,

0 commit comments

Comments
 (0)