gpt4 book ai didi

html - 我有一个垂直滚动条,溢出设置为自动,高度设置为 100%

转载 作者:行者123 更新时间:2023-11-28 03:07:47 25 4
gpt4 key购买 nike

Microsoft Edge 网站出现问题。一些垂直滚动条在 .ic3-report-content-container 中可见。查看网站here

CSS 是:

.ic3-report-content-container {
height: 100%;
overflow:auto;
}

为什么高度为 100% 的 Edge 显示垂直溢出?

容器 div - parent .ic3-report-editor - 具有正确的高度。这个 div 的高度不知何故更小(没有边框,没有填充,没有边距......)

删除溢出或放置 overflow-x:auto;overflow-y:hidden; 可解决此问题。这是正常现象还是 Edge 错误?

最佳答案

div.ic3-report-content-container 的内部内容超出了盒子的边界,所以只需添加:

.ic3-report-content-container {overflow: hidden;}

摆脱滚动。

关于html - 我有一个垂直滚动条,溢出设置为自动,高度设置为 100%,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31803374/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com