Skip to content

Commit ead9df8

Browse files
nielslyngsoeiOvergaard
authored andcommitted
xmlns added to SVGs
1 parent 43ef2c0 commit ead9df8

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

packages/uui-symbol-expand/lib/uui-symbol-expand.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class UUISymbolExpandElement extends LitElement {
3838
public open = false;
3939

4040
render() {
41-
return html`<svg viewBox="0 0 512 512">
41+
return html`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
4242
<path d="M 255.125 400.35 L 88.193 188.765 H 422.055 Z"></path>
4343
</svg>`;
4444
}

packages/uui-symbol-sort/lib/uui-symbol-sort.element.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,13 @@ export class UUISymbolSortElement extends ActiveMixin(LitElement) {
8080
public descending = false;
8181

8282
render() {
83-
return html`<svg id="up" viewBox="0 0 512 512">
83+
return html`<svg
84+
id="up"
85+
xmlns="http://www.w3.org/2000/svg"
86+
viewBox="0 0 512 512">
8487
<path d="M 255.125 400.35 L 88.193 188.765 H 422.055 Z"></path>
8588
</svg>
86-
<svg id="down" viewBox="0 0 512 512">
89+
<svg id="down" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
8790
<path d="M 255.125 400.35 L 88.193 188.765 H 422.055 Z"></path>
8891
</svg>`;
8992
}

0 commit comments

Comments
 (0)