Skip to content

Commit

Permalink
fix(code): symbol tree style (#33224)
Browse files Browse the repository at this point in the history
  • Loading branch information
WangQianliang authored Mar 14, 2019
1 parent 5b8e0e2 commit 45bf396
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ exports[`render symbol tree correctly 1`] = `
className="euiFlexGroup euiFlexGroup--alignItemsCenter euiFlexGroup--directionRow euiFlexGroup--responsive"
>
<div
className="sc-bwzfXH eSZWNW"
className="sc-bwzfXH jYPrbO"
>
<svg
className="euiIcon euiIcon--small euiIcon--subdued codeStructureTree--icon"
Expand Down Expand Up @@ -154,7 +154,7 @@ exports[`render symbol tree correctly 1`] = `
className="euiFlexGroup euiFlexGroup--alignItemsCenter euiFlexGroup--directionRow euiFlexGroup--responsive"
>
<div
className="sc-bwzfXH havHSm"
className="sc-bwzfXH jYpsNE"
>
<div
className="euiFlexItem euiFlexItem--flexGrow1"
Expand Down Expand Up @@ -204,7 +204,7 @@ exports[`render symbol tree correctly 1`] = `
className="euiFlexGroup euiFlexGroup--alignItemsCenter euiFlexGroup--directionRow euiFlexGroup--responsive"
>
<div
className="sc-bwzfXH havHSm"
className="sc-bwzfXH jYpsNE"
>
<div
className="euiFlexItem euiFlexItem--flexGrow1"
Expand Down Expand Up @@ -254,7 +254,7 @@ exports[`render symbol tree correctly 1`] = `
className="euiFlexGroup euiFlexGroup--alignItemsCenter euiFlexGroup--directionRow euiFlexGroup--responsive"
>
<div
className="sc-bwzfXH eSZWNW"
className="sc-bwzfXH jYPrbO"
>
<svg
className="euiIcon euiIcon--small euiIcon--subdued codeStructureTree--icon"
Expand Down Expand Up @@ -328,7 +328,7 @@ exports[`render symbol tree correctly 1`] = `
className="euiFlexGroup euiFlexGroup--alignItemsCenter euiFlexGroup--directionRow euiFlexGroup--responsive"
>
<div
className="sc-bwzfXH havHSm"
className="sc-bwzfXH jYpsNE"
>
<div
className="euiFlexItem euiFlexItem--flexGrow1"
Expand Down Expand Up @@ -378,7 +378,7 @@ exports[`render symbol tree correctly 1`] = `
className="euiFlexGroup euiFlexGroup--alignItemsCenter euiFlexGroup--directionRow euiFlexGroup--responsive"
>
<div
className="sc-bwzfXH havHSm"
className="sc-bwzfXH jYpsNE"
>
<div
className="euiFlexItem euiFlexItem--flexGrow1"
Expand Down Expand Up @@ -428,7 +428,7 @@ exports[`render symbol tree correctly 1`] = `
className="euiFlexGroup euiFlexGroup--alignItemsCenter euiFlexGroup--directionRow euiFlexGroup--responsive"
>
<div
className="sc-bwzfXH havHSm"
className="sc-bwzfXH jYpsNE"
>
<div
className="euiFlexItem euiFlexItem--flexGrow1"
Expand Down Expand Up @@ -478,7 +478,7 @@ exports[`render symbol tree correctly 1`] = `
className="euiFlexGroup euiFlexGroup--alignItemsCenter euiFlexGroup--directionRow euiFlexGroup--responsive"
>
<div
className="sc-bwzfXH eSZWNW"
className="sc-bwzfXH jYPrbO"
>
<svg
className="euiIcon euiIcon--small euiIcon--subdued codeStructureTree--icon"
Expand Down Expand Up @@ -552,7 +552,7 @@ exports[`render symbol tree correctly 1`] = `
className="euiFlexGroup euiFlexGroup--alignItemsCenter euiFlexGroup--directionRow euiFlexGroup--responsive"
>
<div
className="sc-bwzfXH havHSm"
className="sc-bwzfXH jYpsNE"
>
<div
className="euiFlexItem euiFlexItem--flexGrow1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ const Root = styled.div`
const Symbol = styled.div<{ isContainer: boolean }>`
cursor: pointer;
display: flex;
flex-grow: 0;
flex-shrink: 0;
align-items: center;
height: 1.5rem;
margin-left: ${props => (props.isContainer ? '0.75rem' : '2rem')};
Expand Down

0 comments on commit 45bf396

Please sign in to comment.