-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added sass lint to Canvas #43410
added sass lint to Canvas #43410
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 |
---|---|---|
|
@@ -13,10 +13,11 @@ | |
border-right: $euiBorderThin; | ||
} | ||
|
||
.autocompleteItems, .autocompleteReference { | ||
.autocompleteItems, | ||
.autocompleteReference { | ||
@include euiScrollBar; | ||
height: 258px; | ||
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. Did it not yell about the pixel value here? 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. Nope, it's not giving any errors for px values. Maybe it needs to be configured or something? 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. I thought for sure I set this up. I guess not. We don't have it on in EUI either. Something we can look into in a later PR. https://github.com/sasstools/sass-lint/blob/master/docs/rules/variable-for-property.md |
||
overflow: auto; | ||
@include euiScrollBar; | ||
} | ||
|
||
.autocompleteReference { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
.canvasColorPalette { | ||
.canvasColorPalette__dot { | ||
display: inline-block; | ||
margin: 0px $euiSizeXS $euiSizeXS 0px; | ||
margin: 0 $euiSizeXS $euiSizeXS 0; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,9 +33,11 @@ | |
0% { | ||
opacity: 0; | ||
} | ||
|
||
1% { | ||
opacity: 0; | ||
} | ||
|
||
100% { | ||
opacity: 1; | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
.canvasLayout__sidebarHeader { | ||
padding: ($euiSizeXS * 0.5) 0; | ||
padding: ($euiSizeXS * .5) 0; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
.canvasPage { | ||
@include euiBottomShadowFlat($opacity: .4); | ||
z-index: initial; | ||
@include euiBottomShadowFlat($opacity: 0.4); | ||
position: absolute; | ||
top: 0; | ||
transform-style: preserve-3d !important; | ||
transform-style: preserve-3d !important; // sass-lint:disable-line no-important | ||
background-color: $euiColorEmptyShade; | ||
} |
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.
🎉