Skip to content

Commit c0b8716

Browse files
committed
fix style bug
1 parent 19b8be3 commit c0b8716

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/css/custom.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,16 +350,19 @@ body[data-rh] .redocusaurus {
350350
padding: 0;
351351
margin: 0;
352352
display: grid;
353-
grid-template-columns: repeat(3, minmax(0, 1fr));
353+
grid-template-columns: repeat(2, minmax(0, 1fr)); /* force Firefox-style */
354354
gap: 1rem;
355355
}
356+
356357
@media (max-width: 1200px) {
357358
.hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
358359
}
360+
359361
@media (max-width: 700px) {
360362
.hub-grid { grid-template-columns: 1fr; }
361363
}
362364

365+
363366
/* --- Card container --- */
364367
.hub-card {
365368
border-radius: 14px;

0 commit comments

Comments
 (0)