Commit ·
0e12cb7
1
Parent(s): 70b5dc8
fix(market): cap at 8 symbols, stop panel stretch, move YouTube to bottom
Browse files- static/index.html +3 -1
- static/market-panel.js +1 -1
- static/scan/index.html +4 -1
static/index.html
CHANGED
|
@@ -445,6 +445,9 @@
|
|
| 445 |
@media (max-width: 640px) { .yt-section { width: 95vw; } }
|
| 446 |
</style>
|
| 447 |
|
|
|
|
|
|
|
|
|
|
| 448 |
<section class="yt-section">
|
| 449 |
<h2 class="yt-title">📺 Recent Videos</h2>
|
| 450 |
<div class="yt-grid">
|
|
@@ -457,6 +460,5 @@
|
|
| 457 |
<!-- To add more videos, copy the .yt-item block above and change the video ID in the iframe src and the caption text -->
|
| 458 |
</div>
|
| 459 |
</section>
|
| 460 |
-
|
| 461 |
</body>
|
| 462 |
</html>
|
|
|
|
| 445 |
@media (max-width: 640px) { .yt-section { width: 95vw; } }
|
| 446 |
</style>
|
| 447 |
|
| 448 |
+
|
| 449 |
+
|
| 450 |
+
|
| 451 |
<section class="yt-section">
|
| 452 |
<h2 class="yt-title">📺 Recent Videos</h2>
|
| 453 |
<div class="yt-grid">
|
|
|
|
| 460 |
<!-- To add more videos, copy the .yt-item block above and change the video ID in the iframe src and the caption text -->
|
| 461 |
</div>
|
| 462 |
</section>
|
|
|
|
| 463 |
</body>
|
| 464 |
</html>
|
static/market-panel.js
CHANGED
|
@@ -195,7 +195,7 @@
|
|
| 195 |
if (!sym) return;
|
| 196 |
var extras = getExtras();
|
| 197 |
if (DEFAULTS.indexOf(sym) !== -1 || extras.indexOf(sym) !== -1) { inp.value = ''; return; }
|
| 198 |
-
if (extras.length >=
|
| 199 |
extras.push(sym);
|
| 200 |
setExtras(extras);
|
| 201 |
inp.value = '';
|
|
|
|
| 195 |
if (!sym) return;
|
| 196 |
var extras = getExtras();
|
| 197 |
if (DEFAULTS.indexOf(sym) !== -1 || extras.indexOf(sym) !== -1) { inp.value = ''; return; }
|
| 198 |
+
if (DEFAULTS.length + extras.length >= 8) { alert('maximum of 8 symbols'); return; }
|
| 199 |
extras.push(sym);
|
| 200 |
setExtras(extras);
|
| 201 |
inp.value = '';
|
static/scan/index.html
CHANGED
|
@@ -255,6 +255,7 @@
|
|
| 255 |
}
|
| 256 |
.scan-tab-desc { font-size: 12px; color: #8b949e; margin-bottom: 12px; }
|
| 257 |
#market-ts { display: none !important; }
|
|
|
|
| 258 |
</style>
|
| 259 |
<script defer src="https://edgemetry.dean-2b4.workers.dev/em.js" data-domain="blind-monkeys.com"></script>
|
| 260 |
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg">
|
|
@@ -1412,6 +1413,9 @@ document.addEventListener('DOMContentLoaded', function() {
|
|
| 1412 |
@media (max-width: 640px) { .yt-section { width: 95vw; } }
|
| 1413 |
</style>
|
| 1414 |
|
|
|
|
|
|
|
|
|
|
| 1415 |
<section class="yt-section">
|
| 1416 |
<h2 class="yt-title">📺 Recent Videos</h2>
|
| 1417 |
<div class="yt-grid">
|
|
@@ -1424,6 +1428,5 @@ document.addEventListener('DOMContentLoaded', function() {
|
|
| 1424 |
<!-- To add more videos, copy the .yt-item block above and change the video ID in the iframe src and the caption text -->
|
| 1425 |
</div>
|
| 1426 |
</section>
|
| 1427 |
-
|
| 1428 |
</body>
|
| 1429 |
</html>
|
|
|
|
| 255 |
}
|
| 256 |
.scan-tab-desc { font-size: 12px; color: #8b949e; margin-bottom: 12px; }
|
| 257 |
#market-ts { display: none !important; }
|
| 258 |
+
.market-data-wrap { align-items: flex-start; }
|
| 259 |
</style>
|
| 260 |
<script defer src="https://edgemetry.dean-2b4.workers.dev/em.js" data-domain="blind-monkeys.com"></script>
|
| 261 |
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg">
|
|
|
|
| 1413 |
@media (max-width: 640px) { .yt-section { width: 95vw; } }
|
| 1414 |
</style>
|
| 1415 |
|
| 1416 |
+
|
| 1417 |
+
|
| 1418 |
+
|
| 1419 |
<section class="yt-section">
|
| 1420 |
<h2 class="yt-title">📺 Recent Videos</h2>
|
| 1421 |
<div class="yt-grid">
|
|
|
|
| 1428 |
<!-- To add more videos, copy the .yt-item block above and change the video ID in the iframe src and the caption text -->
|
| 1429 |
</div>
|
| 1430 |
</section>
|
|
|
|
| 1431 |
</body>
|
| 1432 |
</html>
|