1.ios无法滚动问题
(1)在样式中body里增加
body {
-webkit-overflow-scrolling: touch;
overflow-y: auto;
}
(2)在容器上增加高度限制
h-full max-h-screen
2.取消<br>产生的连续换行
.hide-line-br br + br {
display: none; /* 隐藏连续的换行 */
}
(1)在样式中body里增加
body {
-webkit-overflow-scrolling: touch;
overflow-y: auto;
}
(2)在容器上增加高度限制
h-full max-h-screen
.hide-line-br br + br {
display: none; /* 隐藏连续的换行 */
}