Skip to content

Commit b88a207

Browse files
author
Jordan Poles
committed
Fixed mobile table sizing! Should work on most devices now.
1 parent c75917a commit b88a207

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

doc/_static/cadquery_cheatsheet.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
<style type="text/css">
99
body {
10+
width: 100vw;
1011
margin: 0;
1112
text-align: center;
1213
}
@@ -16,12 +17,14 @@
1617
}
1718
#section-container {
1819
display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-around; row-gap: 10px;
20+
overflow-y: scroll;
21+
width: 100%
1922
}
2023
.section {
2124
margin: 0.5em;
2225
padding: 0px 0.5em 0.5em;
2326
background-color: #EBEBEB;
24-
min-width: 300px;
27+
min-width: 340px;
2528
max-width: min(50vw, 100%);
2629
}
2730
.section-subtitle {
@@ -49,6 +52,11 @@
4952
h2 {
5053
display: inline;
5154
}
55+
@media only screen and (max-width: 600px) {
56+
body{
57+
font-size: 70%
58+
}
59+
}
5260
</style>
5361
</head>
5462
<body>

0 commit comments

Comments
 (0)