Skip to content

Commit a87864a

Browse files
authored
Merge pull request #347 from QuantStrategyLab/fix/console-mobile-nav
fix(console): fit mobile navigation labels
2 parents 4e779e5 + 9905844 commit a87864a

2 files changed

Lines changed: 11 additions & 5 deletions

File tree

web/strategy-switch-console/app.css

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3082,14 +3082,20 @@
30823082
}
30833083

30843084
.console-nav {
3085-
gap: 16px;
3086-
overflow-x: auto;
3085+
display: grid;
3086+
grid-template-columns: repeat(3, minmax(0, 1fr));
3087+
gap: 0;
3088+
overflow: visible;
30873089
}
30883090

30893091
.console-nav__button {
3090-
flex: 0 0 auto;
3091-
padding: 0 1px;
3092+
min-width: 0;
3093+
padding: 0 2px;
30923094
border-radius: 0;
3095+
font-size: 12px;
3096+
line-height: 1.2;
3097+
text-align: center;
3098+
white-space: normal;
30933099
}
30943100

30953101
.console-nav__button.active {

web/strategy-switch-console/app_css.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)