Skip to content

Commit 2e49ade

Browse files
committed
fix: corrige incompatibilidade safari custom elements
1 parent 6295400 commit 2e49ade

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

apps/devmx/src/main.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
import { bootstrapApplication } from '@angular/platform-browser';
2-
import { GoogleTagElement } from './app/utils/google-tag';
32
import { AppComponent } from './app/app.component';
43
import { appConfig } from './app/app.config';
54
import { env } from './envs/env';
5+
import './app/utils/google-tag';
66

77
if (env.prod) {
8-
document.body.appendChild(new GoogleTagElement());
8+
document.body.appendChild(
9+
document.createElement('script', { is: 'google-tag' })
10+
);
911
}
1012

1113
bootstrapApplication(AppComponent, appConfig).catch((err) =>

packages/account/feature-shell/src/lib/containers/home/home.container.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@if (audioRef.muted) {
99
<devmx-icon name="music/volume-off" />
1010
} @else {
11-
<devmx-icon name="music/volume-2" />
11+
<devmx-icon name="music/volume" />
1212
}
1313
</button>
1414

packages/account/feature-shell/src/lib/containers/home/home.container.scss

+6-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@
66
flex-direction: column;
77
max-width: calc(100vw - 2em);
88

9-
math {
10-
font-size: 200%;
11-
margin: 2em;
9+
.radio {
10+
display: inline-flex;
11+
background-color: #ffffff;
12+
border-radius: 1.6em;
13+
padding: 0.2em;
14+
gap: 0.2em;
1215
}
1316

1417
.banner {

0 commit comments

Comments
 (0)