Spaces:
Paused
Paused
fix: ep-strip horizontal scrollbar visible + remove scroll-snap that blocked swipe
Browse files- index.html +9 -5
- sw.js +1 -1
index.html
CHANGED
|
@@ -196,13 +196,17 @@
|
|
| 196 |
.now-meta:empty { display: none; }
|
| 197 |
|
| 198 |
/* ํ์ฐจ ๊ฐ๋ก์คํฌ๋กค ์นฉ */
|
| 199 |
-
.ep-strip { display: flex; gap: 6px; overflow-x: auto;
|
| 200 |
-
|
| 201 |
-
scrollbar-width:
|
| 202 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 203 |
.ep-chip { flex: 0 0 auto; background: var(--panel2); border: 1px solid var(--border);
|
| 204 |
color: var(--text); padding: 8px 14px; border-radius: 999px; font-size: 13px; cursor: pointer;
|
| 205 |
-
min-width: 56px; text-align: center;
|
| 206 |
.ep-chip:active { background: #2a313d; }
|
| 207 |
.ep-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
|
| 208 |
.ep-strip.hidden, .ep-empty.hidden { display: none; }
|
|
|
|
| 196 |
.now-meta:empty { display: none; }
|
| 197 |
|
| 198 |
/* ํ์ฐจ ๊ฐ๋ก์คํฌ๋กค ์นฉ */
|
| 199 |
+
.ep-strip { display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden;
|
| 200 |
+
padding: 4px 0 10px; -webkit-overflow-scrolling: touch;
|
| 201 |
+
scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.25) transparent;
|
| 202 |
+
min-width: 0; max-width: 100%; }
|
| 203 |
+
.ep-strip::-webkit-scrollbar { height: 6px; }
|
| 204 |
+
.ep-strip::-webkit-scrollbar-track { background: transparent; }
|
| 205 |
+
.ep-strip::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.25); border-radius: 999px; }
|
| 206 |
+
.ep-strip::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.45); }
|
| 207 |
.ep-chip { flex: 0 0 auto; background: var(--panel2); border: 1px solid var(--border);
|
| 208 |
color: var(--text); padding: 8px 14px; border-radius: 999px; font-size: 13px; cursor: pointer;
|
| 209 |
+
min-width: 56px; text-align: center; }
|
| 210 |
.ep-chip:active { background: #2a313d; }
|
| 211 |
.ep-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
|
| 212 |
.ep-strip.hidden, .ep-empty.hidden { display: none; }
|
sw.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
// ์ ์ ์์๋ง ์บ์. API/cdn์ ํญ์ ๋คํธ์ํฌ.
|
| 2 |
// index.html์ ํญ์ ๋คํธ์ํฌ ์ฐ์ (์ฝ๋ ์ฆ์ ๋ฐ์์ฉ). ์คํ๋ผ์ธ์ผ ๋๋ง ์บ์ fallback.
|
| 3 |
-
const CACHE = 'tvchak-
|
| 4 |
|
| 5 |
self.addEventListener('install', (e) => {
|
| 6 |
// ์ SW๋ ์ฆ์ ํ์ฑํ (์ SW ๋๊ธฐ ์ ํจ)
|
|
|
|
| 1 |
// ์ ์ ์์๋ง ์บ์. API/cdn์ ํญ์ ๋คํธ์ํฌ.
|
| 2 |
// index.html์ ํญ์ ๋คํธ์ํฌ ์ฐ์ (์ฝ๋ ์ฆ์ ๋ฐ์์ฉ). ์คํ๋ผ์ธ์ผ ๋๋ง ์บ์ fallback.
|
| 3 |
+
const CACHE = 'tvchak-v7';
|
| 4 |
|
| 5 |
self.addEventListener('install', (e) => {
|
| 6 |
// ์ SW๋ ์ฆ์ ํ์ฑํ (์ SW ๋๊ธฐ ์ ํจ)
|