Skip to content

Commit 243c591

Browse files
author
Jordan Poles
committed
Cleaning up mobile usability/readability
1 parent b88a207 commit 243c591

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

doc/_static/cadquery_cheatsheet.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
}
1818
#section-container {
1919
display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-around; row-gap: 10px;
20-
overflow-y: scroll;
20+
overflow: scroll;
2121
width: 100%
2222
}
2323
.section {
@@ -26,6 +26,7 @@
2626
background-color: #EBEBEB;
2727
min-width: 340px;
2828
max-width: min(50vw, 100%);
29+
overflow-x: scroll;
2930
}
3031
.section-subtitle {
3132
margin-bottom: 4px;
@@ -52,9 +53,12 @@
5253
h2 {
5354
display: inline;
5455
}
55-
@media only screen and (max-width: 600px) {
56+
@media only screen and (max-width: 1000px) {
5657
body{
57-
font-size: 70%
58+
font-size: 75%
59+
}
60+
.section {
61+
max-width: 96%;
5862
}
5963
}
6064
</style>

0 commit comments

Comments
 (0)