lfqian commited on
Commit
a839c99
·
1 Parent(s): d33cc68

Revert "Change header layout to display title and subtitle on same line"

Browse files
Files changed (1) hide show
  1. src/components/HeaderOpen.vue +5 -7
src/components/HeaderOpen.vue CHANGED
@@ -84,9 +84,8 @@ export default {
84
  /* Title section (left) */
85
  .title-section{
86
  display: flex;
87
- flex-direction: row;
88
- align-items: center;
89
- gap: 12px;
90
  }
91
 
92
  /* Title with AMA gradient text */
@@ -100,7 +99,6 @@ export default {
100
  -webkit-background-clip: text;
101
  background-clip: text;
102
  color: transparent;
103
- white-space: nowrap;
104
  }
105
 
106
  /* Subtitle */
@@ -111,7 +109,7 @@ export default {
111
  color: #6b7280;
112
  letter-spacing: 0.01em;
113
  line-height: 1.4;
114
- white-space: nowrap;
115
  }
116
 
117
  /* Tabs (right) */
@@ -156,9 +154,9 @@ export default {
156
  /* responsive */
157
  @media (max-width: 720px){
158
  .bar{ flex-direction: column; align-items: stretch; }
159
- .title-section{ flex-direction: column; align-items: center; text-align: center; gap: 4px; }
160
  .arena-title{ font-size: 22px; }
161
- .arena-subtitle{ font-size: 12px; white-space: normal; }
162
  .menu{ justify-content: center; gap: 18px; }
163
  .menu-item{ font-size: 18px; }
164
  }
 
84
  /* Title section (left) */
85
  .title-section{
86
  display: flex;
87
+ flex-direction: column;
88
+ gap: 4px;
 
89
  }
90
 
91
  /* Title with AMA gradient text */
 
99
  -webkit-background-clip: text;
100
  background-clip: text;
101
  color: transparent;
 
102
  }
103
 
104
  /* Subtitle */
 
109
  color: #6b7280;
110
  letter-spacing: 0.01em;
111
  line-height: 1.4;
112
+ max-width: 450px;
113
  }
114
 
115
  /* Tabs (right) */
 
154
  /* responsive */
155
  @media (max-width: 720px){
156
  .bar{ flex-direction: column; align-items: stretch; }
157
+ .title-section{ align-items: center; text-align: center; }
158
  .arena-title{ font-size: 22px; }
159
+ .arena-subtitle{ font-size: 12px; max-width: 100%; }
160
  .menu{ justify-content: center; gap: 18px; }
161
  .menu-item{ font-size: 18px; }
162
  }