Skip to content

Commit c724d6e

Browse files
committed
style(angular-app): remove duplicate page container styles
- Remove redundant .page-container styles from badge, checkbox, chips, dialog, progress, slider, tabs, text-field, and tooltip component stylesheets - Remove duplicate responsive padding rules from radio-button, search-bar, and switch component media queries - Consolidate layout styling to reduce CSS duplication across component pages
1 parent 04c0bf4 commit c724d6e

File tree

12 files changed

+0
-62
lines changed

12 files changed

+0
-62
lines changed

apps/angular-app/src/pages/badge/badge.component.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,3 @@
66
margin-top: 1rem;
77
}
88

9-
.page-container {
10-
max-width: 1200px;
11-
margin: 0 auto;
12-
padding: 2rem;
13-
}

apps/angular-app/src/pages/checkbox/checkbox.component.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,3 @@
66
margin-top: 1rem;
77
}
88

9-
.page-container {
10-
max-width: 1200px;
11-
margin: 0 auto;
12-
padding: 2rem;
13-
}

apps/angular-app/src/pages/chips/chips.component.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,3 @@
66
margin-top: 1rem;
77
}
88

9-
.page-container {
10-
max-width: 1200px;
11-
margin: 0 auto;
12-
padding: 2rem;
13-
}

apps/angular-app/src/pages/dialog/dialog.component.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,3 @@
66
margin-top: 1rem;
77
}
88

9-
.page-container {
10-
max-width: 1200px;
11-
margin: 0 auto;
12-
padding: 2rem;
13-
}

apps/angular-app/src/pages/progress/progress.component.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,3 @@
66
margin-top: 1rem;
77
}
88

9-
.page-container {
10-
max-width: 1200px;
11-
margin: 0 auto;
12-
padding: 2rem;
13-
}

apps/angular-app/src/pages/radio-buttons/radio-button.component.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,6 @@
121121
}
122122

123123
@media (max-width: 768px) {
124-
.radio-button-page {
125-
padding: 16px;
126-
}
127-
128124
.setting-item {
129125
flex-direction: column;
130126
align-items: flex-start;

apps/angular-app/src/pages/search-bar/search-bar.component.css

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,3 @@
4545
--md-sys-color-primary: var(--md-sys-color-on-surface);
4646
}
4747

48-
@media (max-width: 600px) {
49-
.search-bar-page {
50-
padding: 16px;
51-
}
52-
53-
.demo-container {
54-
padding: 16px;
55-
}
56-
}

apps/angular-app/src/pages/slider/slider.component.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,3 @@
66
margin-top: 1rem;
77
}
88

9-
.page-container {
10-
max-width: 1200px;
11-
margin: 0 auto;
12-
padding: 2rem;
13-
}

apps/angular-app/src/pages/switches/switch.component.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,6 @@
9595
}
9696

9797
@media (max-width: 768px) {
98-
.switch-page {
99-
padding: 16px;
100-
}
101-
10298
.setting-item {
10399
flex-direction: column;
104100
align-items: flex-start;

apps/angular-app/src/pages/tabs/tabs.component.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,3 @@
66
margin-top: 1rem;
77
}
88

9-
.page-container {
10-
max-width: 1200px;
11-
margin: 0 auto;
12-
padding: 2rem;
13-
}

0 commit comments

Comments
 (0)