Skip to content

Commit 3b50ce9

Browse files
committed
Platform grid: 3x2 desktop, 2x3 mobile, add binance button color
1 parent 05e6d1f commit 3b50ce9

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

web/strategy-switch-console/index.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@
261261

262262
.platform-strip {
263263
display: grid;
264-
grid-template-columns: repeat(5, minmax(0, 1fr));
264+
grid-template-columns: repeat(3, minmax(0, 1fr));
265265
gap: 8px;
266266
}
267267

@@ -318,6 +318,10 @@
318318
--platform-color: var(--qmt);
319319
}
320320

321+
.platform-button[data-platform="binance"] {
322+
--platform-color: var(--bn);
323+
}
324+
321325
.execution-cash-policy-section {
322326
grid-template-columns: 1fr;
323327
}
@@ -827,7 +831,7 @@
827831
}
828832

829833
.platform-strip {
830-
grid-template-columns: repeat(5, minmax(0, 1fr));
834+
grid-template-columns: repeat(2, minmax(0, 1fr));
831835
gap: 8px;
832836
padding: 10px 12px;
833837
border: 1px solid rgba(210, 222, 232, 0.85);
@@ -1161,7 +1165,7 @@
11611165

11621166
@media (max-width: 820px) {
11631167
.platform-strip {
1164-
grid-template-columns: repeat(5, minmax(0, 1fr));
1168+
grid-template-columns: repeat(3, minmax(0, 1fr));
11651169
gap: 6px;
11661170
padding: 8px 10px;
11671171
}

web/strategy-switch-console/page_asset.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)