fukasawa: 卡片列数调整

This commit is contained in:
tangly1024
2022-04-25 11:27:56 +08:00
parent fd624db701
commit f4c940a0af

View File

@@ -20,6 +20,8 @@ const BlogListPage = ({ page = 1, posts = [], postCount }) => {
function updateCol() {
if (window.outerWidth > 1200) {
changeCol(3)
} else if (window.outerWidth > 900) {
changeCol(2)
} else {
changeCol(1)
}