Skip to content

Commit e199068

Browse files
committed
fix(styles): correct material styles and typography
Removes the incorrect `material-components-web` stylesheet and script from `index.html`. These were causing conflicts with the `@angular/material` styles that are included in the build. Also moves the `mat-typography` class from the `body` to the `app-root` element to follow best practices and avoid potential styling issues.
1 parent e636409 commit e199068

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

firestore/src/index.html

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,9 @@
3131
href="https://fonts.googleapis.com/icon?family=Material+Icons"
3232
rel="stylesheet"
3333
/>
34-
<link
35-
href="https://unpkg.com/material-components-web@latest/dist/material-components-web.min.css"
36-
rel="stylesheet"
37-
/>
38-
<script src="https://unpkg.com/material-components-web@latest/dist/material-components-web.min.js"></script>
34+
3935
</head>
40-
<body class="mat-typography">
41-
<app-root></app-root>
36+
<body>
37+
<app-root class="mat-typography"></app-root>
4238
</body>
4339
</html>

0 commit comments

Comments
 (0)