findEthics Claude commited on
Commit
08ee6d4
·
1 Parent(s): ee8caca

Clean up navigation and optimize mobile spacing

Browse files

Home Page Changes:
- Remove redundant navigation header completely
- Hide Home and Logout buttons (not needed on login page)
- Remove title bar and divider line for cleaner login experience
- Adjust page content to use full viewport height

Playlist Page Changes:
- Remove top margin on mobile devices for better space utilization
- Maintain 20px top margin on desktop for proper visual spacing
- Optimize container positioning for mobile-first design

These changes provide a cleaner, more focused user experience
while maximizing available screen space on mobile devices.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

Files changed (2) hide show
  1. public/index.html +2 -11
  2. public/playlist.html +2 -1
public/index.html CHANGED
@@ -152,15 +152,7 @@
152
  }
153
 
154
  .nav-header {
155
- background: white;
156
- border-bottom: 2px solid black;
157
- padding: 10px 15px;
158
- display: flex;
159
- justify-content: space-between;
160
- align-items: center;
161
- position: sticky;
162
- top: 0;
163
- z-index: 100;
164
  }
165
 
166
  .nav-title {
@@ -201,7 +193,7 @@
201
 
202
  .page-content {
203
  padding: 10px;
204
- min-height: calc(100vh - 60px);
205
  display: flex;
206
  align-items: center;
207
  justify-content: center;
@@ -229,7 +221,6 @@
229
  <div class="nav-header">
230
  <div class="nav-title">Spotify Web Player</div>
231
  <div class="nav-buttons">
232
- <button class="nav-btn" disabled>Home</button>
233
  <button class="nav-btn" disabled>Logout</button>
234
  </div>
235
  </div>
 
152
  }
153
 
154
  .nav-header {
155
+ display: none;
 
 
 
 
 
 
 
 
156
  }
157
 
158
  .nav-title {
 
193
 
194
  .page-content {
195
  padding: 10px;
196
+ min-height: 100vh;
197
  display: flex;
198
  align-items: center;
199
  justify-content: center;
 
221
  <div class="nav-header">
222
  <div class="nav-title">Spotify Web Player</div>
223
  <div class="nav-buttons">
 
224
  <button class="nav-btn" disabled>Logout</button>
225
  </div>
226
  </div>
public/playlist.html CHANGED
@@ -31,7 +31,7 @@
31
  width: 100%;
32
  max-width: 500px;
33
  margin: 0 auto;
34
- margin-top: 20px;
35
  margin-bottom: 80px; /* Space for smaller fixed bottom controls */
36
  }
37
 
@@ -422,6 +422,7 @@
422
  @media (min-width: 1024px) {
423
  .container {
424
  max-width: 700px;
 
425
  margin-bottom: 100px; /* Adjust for smaller desktop controls */
426
  }
427
 
 
31
  width: 100%;
32
  max-width: 500px;
33
  margin: 0 auto;
34
+ margin-top: 0px;
35
  margin-bottom: 80px; /* Space for smaller fixed bottom controls */
36
  }
37
 
 
422
  @media (min-width: 1024px) {
423
  .container {
424
  max-width: 700px;
425
+ margin-top: 20px;
426
  margin-bottom: 100px; /* Adjust for smaller desktop controls */
427
  }
428