fix(ShaderBake): 细节面板禁用横向滚动
mode="Vertical" 在 2021.3 仍会带出横向滚动条;显式隐藏横向滚动器, 内容容器与 detail-content 都按 100% 宽度收敛(content-viewport / content-container 两个旧新类名都覆盖)。
This commit is contained in:
@@ -126,12 +126,15 @@
|
||||
border-left-color: rgb(60, 60, 60);
|
||||
}
|
||||
|
||||
.detail-pane > .unity-scroll-view__content-container {
|
||||
/* 2021.2 之前叫 content-viewport,之后叫 content-container,两个都写上省得按版本失效 */
|
||||
.detail-pane > .unity-scroll-view__content-container,
|
||||
.detail-pane > .unity-scroll-view__content-viewport {
|
||||
width: 100%;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.detail-content {
|
||||
width: 100%;
|
||||
flex-shrink: 0;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user