Skip to content

Commit

Permalink
Fix non-css literal issues caught
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Aug 18, 2022
1 parent 172b3b8 commit 902b0a9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src-docs/src/views/auto_sizer/auto_sizer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ export default () => {
<EuiAutoSizer>
{({ height, width }) => (
<EuiPanel css={[panelStyles, { height, width }]}>
<EuiCode>{`height: ${height}, width: ${width}`}</EuiCode>
<EuiCode>
height: {height}, width: {width}
</EuiCode>
</EuiPanel>
)}
</EuiAutoSizer>
Expand Down
4 changes: 3 additions & 1 deletion src-docs/src/views/scroll/scroll.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,10 @@ export default () => {
snippetLanguage="scss"
snippet={`.scrollBarRegion {
@include euiScrollBar;
${/* eslint-disable-next-line local/css-logical-properties */ ''}
overflow-y: auto;
height: $euiSize * 10;
overflow-block: auto;
block-size: $euiSize * 10;
}`}
/>
)}
Expand Down
2 changes: 1 addition & 1 deletion src-docs/src/views/scroll/scroll_y.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export default () => {
snippetLanguage="scss"
snippet={`.overflowShadowsY {
@include euiYScrollWithShadows;
height: 180px;
block-size: 180px;
}`}
/>
)}
Expand Down

0 comments on commit 902b0a9

Please sign in to comment.