Skip to content

Commit a35d908

Browse files
alan-agius4vikerman
authored andcommitted
refactor(@schematics/angular): remove classes from twitter icon as it breaks Ivy in IE11
angular/angular#32192
1 parent 60f9b19 commit a35d908

File tree

1 file changed

+6
-20
lines changed

1 file changed

+6
-20
lines changed

packages/schematics/angular/application/other-files/app.component.html.template

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -304,26 +304,12 @@
304304
/>
305305
<span>Welcome</span>
306306
<div class="spacer"></div>
307-
<a aria-label="Angular on twitter" target="_blank" rel="noopener" href="https://twitter.com/angular" title="Twitter">
308-
309-
<svg id="twitter-logo" height="24" data-name="Logo — FIXED" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400">
310-
<defs>
311-
<style>
312-
.cls-1 {
313-
fill: none;
314-
}
315-
316-
.cls-2 {
317-
fill: #ffffff;
318-
}
319-
</style>
320-
</defs>
321-
<rect class="cls-1" width="400" height="400" />
322-
<path class="cls-2" d="M153.62,301.59c94.34,0,145.94-78.16,145.94-145.94,0-2.22,0-4.43-.15-6.63A104.36,104.36,0,0,0,325,122.47a102.38,102.38,0,0,1-29.46,8.07,51.47,51.47,0,0,0,22.55-28.37,102.79,102.79,0,0,1-32.57,12.45,51.34,51.34,0,0,0-87.41,46.78A145.62,145.62,0,0,1,92.4,107.81a51.33,51.33,0,0,0,15.88,68.47A50.91,50.91,0,0,1,85,169.86c0,.21,0,.43,0,.65a51.31,51.31,0,0,0,41.15,50.28,51.21,51.21,0,0,1-23.16.88,51.35,51.35,0,0,0,47.92,35.62,102.92,102.92,0,0,1-63.7,22A104.41,104.41,0,0,1,75,278.55a145.21,145.21,0,0,0,78.62,23"
323-
/>
324-
</svg>
325-
326-
</a>
307+
<a aria-label="Angular on twitter" target="_blank" rel="noopener" href="https://twitter.com/angular" title="Twitter">
308+
<svg id="twitter-logo" height="24" data-name="Logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400">
309+
<rect width="400" height="400" fill="none"/>
310+
<path d="M153.62,301.59c94.34,0,145.94-78.16,145.94-145.94,0-2.22,0-4.43-.15-6.63A104.36,104.36,0,0,0,325,122.47a102.38,102.38,0,0,1-29.46,8.07,51.47,51.47,0,0,0,22.55-28.37,102.79,102.79,0,0,1-32.57,12.45,51.34,51.34,0,0,0-87.41,46.78A145.62,145.62,0,0,1,92.4,107.81a51.33,51.33,0,0,0,15.88,68.47A50.91,50.91,0,0,1,85,169.86c0,.21,0,.43,0,.65a51.31,51.31,0,0,0,41.15,50.28,51.21,51.21,0,0,1-23.16.88,51.35,51.35,0,0,0,47.92,35.62,102.92,102.92,0,0,1-63.7,22A104.41,104.41,0,0,1,75,278.55a145.21,145.21,0,0,0,78.62,23" fill="#fff"/>
311+
</svg>
312+
</a>
327313
</div>
328314

329315
<div class="content" role="main">

0 commit comments

Comments
 (0)