Final mobile layout stabilization (v0.7.5): Fix horizontal shift and background rendering
This commit is contained in:
13
README.md
13
README.md
@@ -84,6 +84,19 @@
|
|||||||
|
|
||||||
## 📝 변경 이력 (Changelog)
|
## 📝 변경 이력 (Changelog)
|
||||||
|
|
||||||
|
### v0.7.5 (2026-01-12)
|
||||||
|
- **모바일 레이아웃 가로 핏 완벽 최적화**:
|
||||||
|
- 화면이 70%만 보이고 오른쪽으로 밀리던 현상을 해결하기 위해 전역적인 너비 정규화(`width: 100%`)와 오버플로우 차단을 적용했습니다.
|
||||||
|
- 모바일 브라우저 렌더링 오류를 유발하는 `background-attachment: fixed` 속성을 모바일 한정으로 해제했습니다.
|
||||||
|
- 모든 요소에 `box-sizing: border-box`를 강제하여 패딩으로 인한 너비 확장을 방지했습니다.
|
||||||
|
- 에피소드 그리드를 모바일 1열 배치로 최적화하여 오버플로우를 원천 차단했습니다.
|
||||||
|
|
||||||
|
### v0.7.4 (2026-01-12)
|
||||||
|
- **모바일 레이아웃 시프트 최종 수정**:
|
||||||
|
- 부트스트랩 `row`의 음수 마진으로 인해 화면이 오른쪽으로 밀려 보이던 현상을 정규화 작업을 통해 해결했습니다.
|
||||||
|
- `html`, `body` 레벨에서 가로 오버플로우를 차단하고 전역적인 단위 대응(`100vw`)을 적용하여 안정적인 가로 핏을 구현했습니다.
|
||||||
|
- 상단 메뉴(브레드크럼)가 부모 너비를 확장시키지 않도록 `display` 속성을 개선했습니다.
|
||||||
|
|
||||||
### v0.7.3 (2026-01-12)
|
### v0.7.3 (2026-01-12)
|
||||||
- **Anilife 모바일 UI 최적화 (프리미엄 개편)**:
|
- **Anilife 모바일 UI 최적화 (프리미엄 개편)**:
|
||||||
- **분석 페이지**: 가로 여백을 최소화(15px -> 2px)하여 모바일 가독성 증대.
|
- **분석 페이지**: 가로 여백을 최소화(15px -> 2px)하여 모바일 가독성 증대.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
title: "애니 다운로더"
|
title: "애니 다운로더"
|
||||||
version: 0.7.3
|
version: 0.7.5
|
||||||
package_name: "anime_downloader"
|
package_name: "anime_downloader"
|
||||||
developer: "projectdx"
|
developer: "projectdx"
|
||||||
description: "anime downloader"
|
description: "anime downloader"
|
||||||
|
|||||||
@@ -14,6 +14,12 @@ body {
|
|||||||
color: #e0e7ff !important;
|
color: #e0e7ff !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
body {
|
||||||
|
background-attachment: scroll !important; /* Fixed background causes shift on some mobile browsers */
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Common Layout Wrapper - Responsive */
|
/* Common Layout Wrapper - Responsive */
|
||||||
.anilife-common-wrapper {
|
.anilife-common-wrapper {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
|||||||
@@ -54,111 +54,95 @@
|
|||||||
font-weight: 600 !important;
|
font-weight: 600 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Common Mobile Responsive Fixes */
|
/* Common Mobile Responsive Fixes - Comprehensive Normalization */
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
body {
|
*, ::before, ::after {
|
||||||
padding-top: 5px !important;
|
|
||||||
overflow-x: hidden !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Compact Navbar */
|
|
||||||
.navbar {
|
|
||||||
padding-top: 0.25rem !important;
|
|
||||||
padding-bottom: 0.25rem !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Global Navigation Pills Fix & Premium Styling */
|
|
||||||
ul.nav.nav-pills.bg-light {
|
|
||||||
background-color: rgba(30, 41, 59, 0.6) !important;
|
|
||||||
backdrop-filter: blur(10px);
|
|
||||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
||||||
border-radius: 10px !important;
|
|
||||||
padding: 4px !important;
|
|
||||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
|
|
||||||
display: flex !important; /* Changed from inline-flex to prevent horizontal stretching */
|
|
||||||
flex-wrap: nowrap !important; /* Force scrollable row */
|
|
||||||
overflow-x: auto !important;
|
|
||||||
-webkit-overflow-scrolling: touch;
|
|
||||||
width: 100% !important; /* Max width constraint */
|
|
||||||
max-width: 100% !important;
|
|
||||||
box-sizing: border-box !important;
|
box-sizing: border-box !important;
|
||||||
margin-top: 2px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Override for the fallback above to be tighter */
|
|
||||||
ul.nav.nav-pills.bg-light {
|
|
||||||
margin-top: 4px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Tighten spacing between 2nd and 3rd level menus */
|
|
||||||
#menu_module_div ul.nav.nav-pills.bg-light {
|
|
||||||
margin-bottom: 2px !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu_page_div ul.nav.nav-pills.bg-light {
|
html, body {
|
||||||
margin-top: -4px !important;
|
width: 100% !important;
|
||||||
margin-bottom: 12px !important;
|
max-width: 100% !important;
|
||||||
}
|
margin: 0 !important;
|
||||||
|
padding: 0 !important;
|
||||||
ul.nav.nav-pills .nav-item {
|
|
||||||
margin: 0 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul.nav.nav-pills .nav-link {
|
|
||||||
border-radius: 6px !important;
|
|
||||||
padding: 6px 12px !important;
|
|
||||||
color: #94a3b8 !important; /* Muted text */
|
|
||||||
font-weight: 600;
|
|
||||||
transition: all 0.3s ease;
|
|
||||||
white-space: nowrap !important; /* Necessary for scrollable items */
|
|
||||||
font-size: 12px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul.nav.nav-pills .nav-link:hover {
|
|
||||||
background-color: rgba(255, 255, 255, 0.1);
|
|
||||||
color: #fff !important;
|
|
||||||
transform: translateY(-1px);
|
|
||||||
}
|
|
||||||
|
|
||||||
ul.nav.nav-pills .nav-link.active {
|
|
||||||
background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
|
|
||||||
color: #fff !important;
|
|
||||||
box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Layout Expansion on Mobile - Critical Fix for Horizontal Shift */
|
|
||||||
html, body {
|
|
||||||
overflow-x: hidden !important;
|
overflow-x: hidden !important;
|
||||||
width: 100vw !important;
|
position: relative !important;
|
||||||
position: relative;
|
-webkit-text-size-adjust: 100%;
|
||||||
|
touch-action: manipulation;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Layout Expansion on Mobile - Critical Fix for Horizontal Shift */
|
||||||
.container, .container-fluid, #main_container {
|
.container, .container-fluid, #main_container {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
max-width: 100% !important;
|
max-width: 100% !important;
|
||||||
padding-left: 5px !important;
|
min-width: 0 !important;
|
||||||
padding-right: 5px !important;
|
padding-left: 6px !important;
|
||||||
|
padding-right: 6px !important;
|
||||||
margin-left: 0 !important;
|
margin-left: 0 !important;
|
||||||
margin-right: 0 !important;
|
margin-right: 0 !important;
|
||||||
box-sizing: border-box !important;
|
box-sizing: border-box !important;
|
||||||
overflow-x: hidden !important; /* Prevent internal bleed from stretching body */
|
overflow-x: hidden !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.row {
|
.row {
|
||||||
margin-left: 0 !important;
|
margin-left: 0 !important;
|
||||||
margin-right: 0 !important;
|
margin-right: 0 !important;
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
[class*="col-"] {
|
[class*="col-"] {
|
||||||
padding-left: 5px !important;
|
padding-left: 4px !important;
|
||||||
padding-right: 5px !important;
|
padding-right: 4px !important;
|
||||||
|
min-width: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Compact Navbar Fix */
|
||||||
|
.navbar {
|
||||||
|
width: 100% !important;
|
||||||
|
max-width: 100% !important;
|
||||||
|
padding-top: 0.25rem !important;
|
||||||
|
padding-bottom: 0.25rem !important;
|
||||||
|
margin: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
form {
|
/* Global Navigation Pills Fix */
|
||||||
|
ul.nav.nav-pills.bg-light {
|
||||||
|
background-color: rgba(30, 41, 59, 0.6) !important;
|
||||||
|
backdrop-filter: blur(10px);
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||||
|
border-radius: 8px !important;
|
||||||
|
padding: 4px !important;
|
||||||
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
|
||||||
|
display: flex !important;
|
||||||
|
flex-wrap: nowrap !important;
|
||||||
|
overflow-x: auto !important;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
margin: 0 !important;
|
max-width: 100% !important;
|
||||||
box-sizing: border-box !important;
|
box-sizing: border-box !important;
|
||||||
|
margin-top: 2px !important;
|
||||||
|
justify-content: flex-start !important; /* Critical for scrollable access */
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.nav.nav-pills .nav-item {
|
||||||
|
flex: 0 0 auto !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.nav.nav-pills .nav-link {
|
||||||
|
border-radius: 6px !important;
|
||||||
|
padding: 6px 12px !important;
|
||||||
|
color: #94a3b8 !important;
|
||||||
|
font-weight: 600;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
white-space: nowrap !important;
|
||||||
|
font-size: 11px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.nav.nav-pills .nav-link.active {
|
||||||
|
background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
|
||||||
|
color: #fff !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Card/Table Container Fix */
|
/* Card/Table Container Fix */
|
||||||
@@ -166,7 +150,7 @@
|
|||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
margin-left: 0 !important;
|
margin-left: 0 !important;
|
||||||
margin-right: 0 !important;
|
margin-right: 0 !important;
|
||||||
border-radius: 12px !important;
|
border-radius: 8px !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -606,10 +606,16 @@ body {
|
|||||||
.episode-list-container {
|
.episode-list-container {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 600px) {
|
||||||
|
.episode-list-container {
|
||||||
|
grid-template-columns: 1fr !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* 에피소드 카드 */
|
/* 에피소드 카드 */
|
||||||
.episode-card {
|
.episode-card {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
Reference in New Issue
Block a user