Skip to content

Commit de2affb

Browse files
authored
fix(Angular IS): avoid default browser styling (#322)
* fix(Angular IS): avoid default browser styling * fix(Angular IS): remove satellite.css declaration in angular config file
1 parent 65fc1c3 commit de2affb

File tree

12 files changed

+98
-9
lines changed

12 files changed

+98
-9
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
11
/* You can add global styles to this file, and also import other style files */
2+
body,
3+
h1 {
4+
margin: 0;
5+
padding: 0;
6+
}
7+
8+
body {
9+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
10+
Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
11+
}
Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
/* You can add global styles to this file, and also import other style files */
2+
body,
3+
h1 {
4+
margin: 0;
5+
padding: 0;
6+
}
27

3-
html, body { height: 100%; }
4-
body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; }
8+
body {
9+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
10+
Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
11+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
11
/* You can add global styles to this file, and also import other style files */
2+
body,
3+
h1 {
4+
margin: 0;
5+
padding: 0;
6+
}
7+
8+
body {
9+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
10+
Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
11+
}
Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
/* You can add global styles to this file, and also import other style files */
2+
body,
3+
h1 {
4+
margin: 0;
5+
padding: 0;
6+
}
27

3-
html, body { height: 100%; }
4-
body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; }
8+
body {
9+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
10+
Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
11+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
11
/* You can add global styles to this file, and also import other style files */
2+
body,
3+
h1 {
4+
margin: 0;
5+
padding: 0;
6+
}
7+
8+
body {
9+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
10+
Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
11+
}

Angular InstantSearch/query-suggestions/angular.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
],
2929
"styles": [
3030
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
31-
"node_modules/instantsearch.css/themes/satellite.css",
3231
"src/styles.css"
3332
],
3433
"scripts": []
@@ -97,7 +96,6 @@
9796
],
9897
"styles": [
9998
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
100-
"node_modules/instantsearch.css/themes/satellite.css",
10199
"src/styles.css"
102100
],
103101
"scripts": []

Angular InstantSearch/query-suggestions/src/styles.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,3 @@ body {
99
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
1010
Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
1111
}
12-
13-
html, body { height: 100%; }
14-
body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; }
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
11
/* You can add global styles to this file, and also import other style files */
2+
body,
3+
h1 {
4+
margin: 0;
5+
padding: 0;
6+
}
7+
8+
body {
9+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
10+
Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
11+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
11
/* You can add global styles to this file, and also import other style files */
2+
body,
3+
h1 {
4+
margin: 0;
5+
padding: 0;
6+
}
7+
8+
body {
9+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
10+
Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
11+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
11
/* You can add global styles to this file, and also import other style files */
2+
body,
3+
h1 {
4+
margin: 0;
5+
padding: 0;
6+
}
7+
8+
body {
9+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
10+
Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
11+
}

0 commit comments

Comments
 (0)