We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4b6d45 commit bb69286Copy full SHA for bb69286
datafiles/static/hackage.css
@@ -321,8 +321,11 @@ table.properties td, table.properties th {
321
* = (100% - 40% ) * 60vw - 2em
322
* = 60% * 60vw - 2em
323
* = 36vw - 2em
324
+ *
325
+ * The 36vw only applies if the #content max-width of 1450px isn't hit.
326
+ * So we use min(...) for this special case.
327
*/
- width: calc(36vw - 2em);
328
+ width: calc(min(36vw, .6 * 1450px) - 2em);
329
}
330
331
@@ -350,6 +353,7 @@ table.properties td, table.properties th {
350
353
351
354
352
355
#content {
356
+ /* keep this in sync with the calculation above */
357
max-width: 1450px;
358
359
0 commit comments