refactor(test-app): centralize padding in root container

Remove individual padding declarations from view components and
set padding to 0 on App.vue root container. This consolidates
padding management in one place for easier maintenance and
consistent spacing control.
This commit is contained in:
Jose Olarte III
2025-12-31 10:17:22 +08:00
parent f19ff4c127
commit 76c05e3690
10 changed files with 1 additions and 9 deletions

View File

@@ -63,6 +63,7 @@ export default toNative(App)
min-height: 100vh;
display: flex;
flex-direction: column;
padding: 0;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

View File

@@ -20,7 +20,6 @@ export default toNative(HistoryView)
<style scoped>
.history-view {
padding: 20px;
max-width: 1200px;
margin: 0 auto;
}

View File

@@ -623,7 +623,6 @@ onMounted(async () => {
<style scoped>
.home-view {
padding: 20px;
max-width: 1200px;
margin: 0 auto;
}

View File

@@ -121,7 +121,6 @@ export default toNative(LogsView)
<style scoped>
.logs-view {
padding: 20px;
max-width: 1200px;
margin: 0 auto;
}

View File

@@ -21,7 +21,6 @@ export default toNative(NotFoundView)
<style scoped>
.not-found-view {
padding: 20px;
max-width: 1200px;
margin: 0 auto;
}

View File

@@ -20,7 +20,6 @@ export default toNative(NotificationsView)
<style scoped>
.notifications-view {
padding: 20px;
max-width: 1200px;
margin: 0 auto;
}

View File

@@ -97,7 +97,6 @@ export default toNative(ScheduleView)
<style scoped>
.schedule-view {
padding: 20px;
max-width: 600px;
margin: 0 auto;
}

View File

@@ -20,7 +20,6 @@ export default toNative(SettingsView)
<style scoped>
.settings-view {
padding: 20px;
max-width: 1200px;
margin: 0 auto;
}

View File

@@ -336,7 +336,6 @@ export default toNative(StatusView)
<style scoped>
.status-view {
padding: 20px;
max-width: 1200px;
margin: 0 auto;
}

View File

@@ -276,7 +276,6 @@ function clearError() {
<style scoped>
.user-zero-view {
padding: 20px;
max-width: 800px;
margin: 0 auto;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);