Browse Source

style(page): reduce header height to 52px

main
Mohan 1 month ago
parent
commit
299b705990
  1. 6
      src/App.vue
  2. 2
      src/views/LoginView.vue
  3. 2
      src/views/RegisterView.vue
  4. 2
      src/views/admin/AdminLayout.vue

6
src/App.vue

@ -117,7 +117,7 @@ async function handleLogout() {
align-items: center; align-items: center;
gap: 20px; gap: 20px;
padding: 0 24px; padding: 0 24px;
height: 60px;
height: 52px;
background-color: var(--ac-header-bg); background-color: var(--ac-header-bg);
color: var(--ac-header-text); color: var(--ac-header-text);
border-bottom: 1px solid var(--ac-border); border-bottom: 1px solid var(--ac-border);
@ -257,7 +257,7 @@ async function handleLogout() {
.app-main { .app-main {
margin: 24px auto; margin: 24px auto;
padding: 0 16px; padding: 0 16px;
min-height: calc(100vh - 60px - 80px);
min-height: calc(100vh - 52px - 80px);
max-width: 960px; max-width: 960px;
} }
@ -265,7 +265,7 @@ async function handleLogout() {
max-width: none; max-width: none;
margin: 0; margin: 0;
padding: 0; padding: 0;
min-height: calc(100vh - 60px);
min-height: calc(100vh - 52px);
} }
.wave-decoration { .wave-decoration {

2
src/views/LoginView.vue

@ -53,7 +53,7 @@ async function onSubmit() {
.login-wrap { .login-wrap {
display: flex; display: flex;
justify-content: center; justify-content: center;
padding-top: 60px;
padding-top: 52px;
} }
.login-form { .login-form {

2
src/views/RegisterView.vue

@ -78,7 +78,7 @@ async function onSubmit() {
.register-wrap { .register-wrap {
display: flex; display: flex;
justify-content: center; justify-content: center;
padding-top: 60px;
padding-top: 52px;
} }
.register-form { .register-form {

2
src/views/admin/AdminLayout.vue

@ -27,7 +27,7 @@ const auth = useAuthStore()
<style scoped> <style scoped>
.admin-layout { .admin-layout {
display: flex; display: flex;
min-height: calc(100vh - 60px);
min-height: calc(100vh - 52px);
} }
.sidebar { .sidebar {

Loading…
Cancel
Save