-
Notifications
You must be signed in to change notification settings - Fork 0
Automated Test: header-layout-optimization-post #313
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -92,3 +92,40 @@ | |||||||||||||||||||||||||||||
| -moz-user-select: none; | ||||||||||||||||||||||||||||||
| -ms-user-select: none; | ||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| // --------------------------------------------------- | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| //Flexbox | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| @mixin flexbox() { | ||||||||||||||||||||||||||||||
| display: -webkit-box; | ||||||||||||||||||||||||||||||
| display: -moz-box; | ||||||||||||||||||||||||||||||
| display: -ms-flexbox; | ||||||||||||||||||||||||||||||
| display: -webkit-flex; | ||||||||||||||||||||||||||||||
| display: flex; | ||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| @mixin inline-flex() { | ||||||||||||||||||||||||||||||
| display: -webkit-inline-box; | ||||||||||||||||||||||||||||||
| display: -webkit-inline-flex; | ||||||||||||||||||||||||||||||
| display: -moz-inline-box; | ||||||||||||||||||||||||||||||
| display: -ms-inline-flexbox; | ||||||||||||||||||||||||||||||
| display: inline-flex; | ||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| @mixin align-items($alignment) { | ||||||||||||||||||||||||||||||
| -webkit-box-align: $alignment; | ||||||||||||||||||||||||||||||
| -webkit-align-items: $alignment; | ||||||||||||||||||||||||||||||
| -ms-flex-align: $alignment; | ||||||||||||||||||||||||||||||
| -ms-align-items: $alignment; | ||||||||||||||||||||||||||||||
| align-items:$alignment; | ||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| @mixin order($val) { | ||||||||||||||||||||||||||||||
| -webkit-box-ordinal-group: $val; | ||||||||||||||||||||||||||||||
| -moz-box-ordinal-group: $val; | ||||||||||||||||||||||||||||||
| -ms-flex-order: $val; | ||||||||||||||||||||||||||||||
| -webkit-order: $val; | ||||||||||||||||||||||||||||||
| order: $val; | ||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
|
Comment on lines
+125
to
+131
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The legacy Proposed fix `@mixin` order($val) {
- -webkit-box-ordinal-group: $val;
+ -webkit-box-ordinal-group: $val + 1;
-moz-box-ordinal-group: $val;
-ms-flex-order: $val;
-webkit-order: $val;
order: $val;
}📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-ms-align-items(line 121) is not a valid CSS property.The correct IE10 prefix for
align-itemsis-ms-flex-align, which is already present on line 120.-ms-align-itemsis unrecognized and has no effect—it should be removed.Proposed fix
`@mixin` align-items($alignment) { -webkit-box-align: $alignment; -webkit-align-items: $alignment; - -ms-flex-align: $alignment; - -ms-align-items: $alignment; + -ms-flex-align: $alignment; align-items:$alignment; }📝 Committable suggestion
🤖 Prompt for AI Agents