我使用overflow-y创建滚动条,但它在safari(MacOS)中缺失。
请帮忙,非常感谢。
.contentLeft{
overflow-y: scroll;
}
在chrome和firefox上
在野生动物园
尝试在其上放置最大高度或高度值
.contentLeft {
overflow-y: scroll;
max-height: 400px;
/* height: 400px; */
}
您可以选择最大高度或高度值,不要同时使用两者。选择