There was an error while loading. Please reload this page.
2 parents 5dde4cd + 0dc6c22 commit f5785bdCopy full SHA for f5785bd
1 file changed
lmfdb/templates/style.css
@@ -1174,6 +1174,15 @@ table .knowl a {
1174
margin-left: 0;
1175
margin-right: 0;
1176
}
1177
+/* Knowls opened inside a table cell insert a new full-width row (see
1178
+ knowl_click_handler in lmfdb.js). Inline-size containment keeps that row
1179
+ from being counted when the browser computes the column widths, so opening
1180
+ a knowl no longer pushes the other columns around (issue #6501): the box
1181
+ simply spans the table's current width. The .knowl-content overflow rule
1182
+ above handles content that is wider than the available box. */
1183
+td > .knowl-output {
1184
+ contain: inline-size;
1185
+}
1186
.knowl-output.loading {
1187
color: {{color.grey}};
1188
font-style: italic;
0 commit comments