fix: proper spacing between generated card items on mobiles (#7139)

This commit is contained in:
Alexey Pyltsyn 2022-04-09 09:43:46 +03:00 committed by GitHub
parent 2a7820582c
commit 7d44961d8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}