fix(docs): make the buttons placement style on the top page of the document responsive (#857)

This commit is contained in:
Mooncake Sugar 2024-05-22 22:31:46 +09:00 committed by GitHub
parent 445b4990f7
commit 9cd91dd094
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,14 +17,18 @@
} }
.buttons { .buttons {
display: flex; display: grid;
grid-auto-flow: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
column-gap: 2rem;
row-gap: 1rem;
} }
.button { @media screen and (max-width: 996px) {
margin-right: 1rem; .buttons {
margin-left: 1rem; grid-auto-flow: row;
}
} }
div.logo { div.logo {