dongsik22 commited on
Commit
760e46d
ยท
1 Parent(s): afac63a

fix: ep-strip horizontal scrollbar visible + remove scroll-snap that blocked swipe

Browse files
Files changed (2) hide show
  1. index.html +9 -5
  2. 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; padding: 4px 0 8px;
200
- scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
201
- scrollbar-width: none; }
202
- .ep-strip::-webkit-scrollbar { display: none; }
 
 
 
 
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; scroll-snap-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-v6';
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 ๋Œ€๊ธฐ ์•ˆ ํ•จ)