您好,
我注意到在平板设备的移动视图上存在一个问题。
这个媒体查询在移动设备上运行良好,但我认为它应该在所有移动视图宽度上都激活。
@media screen and (max-width: 924px) {
.container.posts {
grid-template-areas: "posts";
grid-template-columns: auto;
}
}
在 924px 以上,它会将时间线添加到 template-areas 中,这(我认为只在桌面上显示)在移动设备上会破坏布局。
.container.posts {
display: grid;
grid-template-areas: "posts timeline";
grid-template-columns: auto auto;
margin-bottom: var(--below-topic-margin);
}
谢谢 ![]()