mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-02 08:19:07 +02:00
fix: proper spacing between generated card items on mobiles (#7139)
This commit is contained in:
parent
2a7820582c
commit
7d44961d8b
1 changed files with 5 additions and 1 deletions
|
@ -9,6 +9,10 @@
|
|||
.generatedIndexPage {
|
||||
max-width: 75% !important;
|
||||
}
|
||||
|
||||
.list article:nth-last-child(-n + 2) {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Duplicated from .markdown h1 */
|
||||
|
@ -17,6 +21,6 @@
|
|||
margin-bottom: calc(1.25 * var(--ifm-leading));
|
||||
}
|
||||
|
||||
.list article:nth-last-child(-n + 2) {
|
||||
.list article:last-child {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue