Skip to content

Commit bbbf598

Browse files
committed
fix(ui): improve mobile responsive layout for header
- Hide GitHub links on mobile (<768px) - Hide OCR status center section on mobile - Reduce header padding and font sizes - Hide page count badge on mobile - Compact import button on very small screens (<480px)
1 parent b1fd032 commit bbbf598

2 files changed

Lines changed: 52 additions & 2 deletions

File tree

assets/mobile_issue.jpg

183 KB
Loading

frontend/src/components/common/AppHeader.vue

Lines changed: 52 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,11 +295,61 @@ defineExpose({
295295
}
296296
297297
@media (max-width: 768px) {
298-
.github-text {
298+
.app-header {
299+
padding: 0 12px;
300+
height: 56px;
301+
}
302+
303+
.app-title {
304+
font-size: 14px;
305+
white-space: nowrap;
306+
}
307+
308+
.header-center {
299309
display: none;
300310
}
311+
301312
.github-links {
302-
gap: 0;
313+
display: none;
314+
}
315+
316+
.header-actions {
317+
gap: 8px;
318+
}
319+
320+
.header-actions .n-divider {
321+
display: none;
322+
}
323+
324+
.page-count-badge {
325+
display: none;
326+
}
327+
328+
.add-btn {
329+
padding: 0 12px;
330+
font-size: 13px;
331+
}
332+
333+
.add-btn .n-button__content {
334+
gap: 4px;
335+
}
336+
}
337+
338+
@media (max-width: 480px) {
339+
.app-header {
340+
padding: 0 8px;
341+
}
342+
343+
.header-brand {
344+
gap: 8px;
345+
}
346+
347+
.app-title {
348+
font-size: 13px;
349+
}
350+
351+
.add-btn span {
352+
display: none;
303353
}
304354
}
305355
</style>

0 commit comments

Comments
 (0)