Skip to content

Commit

Permalink
fix(jslogo): fix for displaying in firefox (#17240)
Browse files Browse the repository at this point in the history
* fix(jslogo): fix for displaying in firefox

* chore(changelog): update changelog for #17240
  • Loading branch information
russorat authored Mar 13, 2020
1 parent d3b0665 commit a5c368e
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 51 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

### Bug Fixes

1. [17240](https://github.com/influxdata/influxdb/pull/17240): NodeJS logo displays properly in Firefox

## v2.0.0-beta.6 [2020-03-12]

### Features
Expand Down
88 changes: 37 additions & 51 deletions ui/src/clientLibraries/graphics/JSLogo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,129 +31,115 @@ const JSLogo: SFC = () => {
<path
className="js1"
d="M148.5,235.7c-0.9,0-1.8-0.2-2.6-0.7l-8.1-4.8c-1.2-0.7-0.6-0.9-0.2-1.1c1.6-0.6,1.9-0.7,3.7-1.7
c0.2-0.1,0.4-0.1,0.6,0l6.3,3.7c0.2,0.1,0.5,0.1,0.8,0l24.4-14.1c0.2-0.1,0.4-0.4,0.4-0.7v-28.1c0-0.3-0.1-0.5-0.4-0.7l-24.4-14.1
c-0.2-0.1-0.5-0.1-0.8,0l-24.4,14.1c-0.2,0.1-0.4,0.4-0.4,0.7v28.1c0,0.3,0.1,0.5,0.4,0.7l6.7,3.9c3.6,1.8,5.8-0.3,5.8-2.5v-27.8
c0-0.4,0.3-0.7,0.7-0.7h3.1c0.4,0,0.7,0.3,0.7,0.7v27.8c0,4.8-2.6,7.6-7.2,7.6c-1.4,0-2.5,0-5.6-1.5l-6.4-3.7
c-1.6-0.9-2.6-2.6-2.6-4.4v-28.1c0-1.8,1-3.5,2.6-4.4l24.4-14.1c1.5-0.9,3.6-0.9,5.1,0l24.4,14.1c1.6,0.9,2.6,2.6,2.6,4.4v28.1
c0,1.8-1,3.5-2.6,4.4L151,235C150.2,235.4,149.4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.7-10.8-2.1-10.8-7.5c0-4.9,4.1-7.9,11.1-7.9
c7.8,0,11.7,2.7,12.2,8.5c0,0.2-0.1,0.4-0.2,0.5c-0.1,0.1-0.3,0.2-0.5,0.2h-3.2c-0.3,0-0.6-0.2-0.7-0.6c-0.8-3.4-2.6-4.5-7.6-4.5
c-5.6,0-6.3,2-6.3,3.4c0,1.8,0.8,2.3,8.3,3.3c7.5,1,11.1,2.4,11.1,7.7C168.1,213.3,163.7,216.3,156,216.3z"
/>
</g>
<g>
<path
className="js1"
d="M191.1,186.8c0,2.6-2.1,4.7-4.7,4.7c-2.6,0-4.7-2.1-4.7-4.7c0-2.7,2.2-4.7,4.7-4.7
C189,182.1,191.1,184.1,191.1,186.8z M182.5,186.8c0,2.2,1.8,4,3.9,4c2.2,0,4-1.8,4-4c0-2.2-1.8-3.9-4-3.9
C184.3,182.8,182.5,184.6,182.5,186.8z M184.7,184.1h1.8c0.6,0,1.8,0,1.8,1.4c0,1-0.6,1.2-1,1.3c0.7,0,0.8,0.5,0.9,1.2
c0.1,0.4,0.1,1.1,0.3,1.4h-1.1c0-0.2-0.2-1.6-0.2-1.7c-0.1-0.3-0.2-0.4-0.5-0.4h-0.9v2.1h-1V184.1z M185.7,186.5h0.8
c0.7,0,0.8-0.5,0.8-0.7c0-0.7-0.5-0.7-0.8-0.7h-0.8V186.5z"
C189,182.1,191.1,184.1,191.1,186.8z M182.5,186.8c0,2.2,1.8,4,3.9,4c2.2,0,4-1.8,4-4c0-2.2-1.8-3.9-4-3.9
C184.3,182.8,182.5,184.6,182.5,186.8z M184.7,184.1h1.8c0.6,0,1.8,0,1.8,1.4c0,1-0.6,1.2-1,1.3c0.7,0,0.8,0.5,0.9,1.2
c0.1,0.4,0.1,1.1,0.3,1.4h-1.1c0-0.2-0.2-1.6-0.2-1.7c-0.1-0.3-0.2-0.4-0.5-0.4h-0.9v2.1h-1V184.1z M185.7,186.5h0.8
c0.7,0,0.8-0.5,0.8-0.7c0-0.7-0.5-0.7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.1,0.8,1.4c0.5,0.3,1.1,0.3,1.6,0L283.4,135.9z"
c-1,0.6-1.6,1.6-1.6,2.7v29.8c0,1.1,0.6,2.2,1.6,2.7l25.7,14.6c0.9,0.5,2.1,0.5,3.1,0l15.5-8.6c0.5-0.3,0.8-0.8,0.8-1.4
c0-0.6-0.3-1.1-0.8-1.4l-26-14.9c-0.5-0.3-0.8-0.8-0.8-1.4v-9.4c0-0.6,0.3-1.1,0.8-1.4l8.1-4.7c0.5-0.3,1.1-0.3,1.6,0l8.1,4.7
c0.5,0.3,0.8,0.8,0.8,1.4v7.4c0,0.6,0.3,1.1,0.8,1.4c0.5,0.3,1.1,0.3,1.6,0L283.4,135.9z"
/>
<path
className="js3"
d="M255.8,134.5c0.2-0.1,0.4-0.1,0.6,0l5,2.9c0.2,0.1,0.3,0.3,0.3,0.5v5.7c0,0.2-0.1,0.4-0.3,0.5l-5,2.9
c-0.2,0.1-0.4,0.1-0.6,0l-5-2.9c-0.2-0.1-0.3-0.3-0.3-0.5v-5.7c0-0.2,0.1-0.4,0.3-0.5L255.8,134.5z"
c-0.2,0.1-0.4,0.1-0.6,0l-5-2.9c-0.2-0.1-0.3-0.3-0.3-0.5v-5.7c0-0.2,0.1-0.4,0.3-0.5L255.8,134.5z"
/>
</g>
<g>
<defs>
<path
id="XMLID_143_"
d="M116.2,108.5c-1-0.6-2.1-0.6-3.1,0l-25.7,14.8c-1,0.6-1.6,1.6-1.6,2.7v29.7c0,1.1,0.6,2.1,1.6,2.7
l25.7,14.9c1,0.6,2.1,0.6,3.1,0l25.7-14.9c1-0.6,1.6-1.6,1.6-2.7v-29.7c0-1.1-0.6-2.1-1.6-2.7L116.2,108.5z"
/>
</defs>
<use
xlinkHref="#XMLID_143_"
style={{
overflow: 'visible',
fillRule: 'evenodd',
clipRule: 'evenodd',
fill: 'url(#XMLID_4_)',
}}
<path
className="js1"
d="M116.2,108.5c-1-0.6-2.1-0.6-3.1,0l-25.7,14.8c-1,0.6-1.6,1.6-1.6,2.7v29.7c0,1.1,0.6,2.1,1.6,2.7
l25.7,14.9c1,0.6,2.1,0.6,3.1,0l25.7-14.9c1-0.6,1.6-1.6,1.6-2.7v-29.7c0-1.1-0.6-2.1-1.6-2.7L116.2,108.5z"
/>
<clipPath id="XMLID_5_">
<use xlinkHref="#XMLID_143_" style={{overflow: 'visible'}} />
</clipPath>
<g className="js4">
<path
className="js0"
d="M113,108.5l-25.8,14.8c-1,0.6-1.7,1.6-1.7,2.7v29.7c0,0.7,0.3,1.4,0.8,2l29-49.5
C114.6,108,113.8,108.1,113,108.5z"
C114.6,108,113.8,108.1,113,108.5z"
/>
<path
className="js0"
d="M115.5,173.6c0.3-0.1,0.5-0.2,0.7-0.3l25.7-14.9c1-0.6,1.6-1.6,1.6-2.7v-29.7c0-0.8-0.4-1.6-0.9-2.2
L115.5,173.6z"
L115.5,173.6z"
/>
<path
className="js5"
d="M142,123.4l-25.8-14.8c-0.3-0.1-0.5-0.3-0.8-0.3l-29,49.5c0.2,0.3,0.5,0.5,0.9,0.7l25.8,14.9
c0.7,0.4,1.6,0.5,2.4,0.3l27.1-49.7C142.5,123.7,142.2,123.5,142,123.4z"
c0.7,0.4,1.6,0.5,2.4,0.3l27.1-49.7C142.5,123.7,142.2,123.5,142,123.4z"
/>
</g>
<g className="js4">
<path
className="js0"
d="M143.6,155.8v-29.7c0-1.1-0.7-2.1-1.6-2.7l-25.8-14.8c-0.3-0.2-0.6-0.3-0.9-0.3l28.3,48.3
C143.6,156.2,143.6,156,143.6,155.8z"
C143.6,156.2,143.6,156,143.6,155.8z"
/>
<path
className="js0"
d="M87.3,123.4c-1,0.6-1.7,1.6-1.7,2.7v29.7c0,1.1,0.7,2.1,1.7,2.7l25.8,14.9c0.6,0.4,1.3,0.5,2,0.4l-27.7-50.4
L87.3,123.4z"
L87.3,123.4z"
/>
<polygon
className="js6"
points="112.2,103.1 111.9,103.3 112.4,103.3 "
points="112.2,103.1 111.9,103.3 112.4,103.3"
/>
<path
className="js7"
d="M142,158.4c0.7-0.4,1.3-1.2,1.5-2l-28.3-48.3c-0.7-0.1-1.5,0-2.2,0.3l-25.6,14.8l27.7,50.4
c0.4-0.1,0.8-0.2,1.1-0.4L142,158.4z"
c0.4-0.1,0.8-0.2,1.1-0.4L142,158.4z"
/>
<polygon
className="js8"
points="144.4,158 144.2,157.7 144.2,158.1 "
points="144.4,158 144.2,157.7 144.2,158.1"
/>
<path
className="js9"
d="M142,158.4l-25.7,14.9c-0.4,0.2-0.7,0.3-1.1,0.4l0.5,0.9l28.6-16.6v-0.4l-0.7-1.2
C143.3,157.3,142.7,158,142,158.4z"
C143.3,157.3,142.7,158,142,158.4z"
/>
<path
className="js10"
d="M142,158.4l-25.7,14.9c-0.4,0.2-0.7,0.3-1.1,0.4l0.5,0.9l28.6-16.6v-0.4l-0.7-1.2
C143.3,157.3,142.7,158,142,158.4z"
C143.3,157.3,142.7,158,142,158.4z"
/>
</g>
</g>
Expand Down

0 comments on commit a5c368e

Please sign in to comment.