Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

某种情况下会导致侧栏面板宽度很小并且无法调整宽度 #13516

Open
TCOTC opened this issue Dec 17, 2024 · 0 comments
Open

某种情况下会导致侧栏面板宽度很小并且无法调整宽度 #13516

TCOTC opened this issue Dec 17, 2024 · 0 comments

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Dec 17, 2024

新建工作空间使用如下 CSS 片段:

.layout__dockr > .fn__flex-1 {
	margin-left: 3px;
}

会这样:

video.webm

本来想用 :not(.fn__none) 规避:

.layout__dockr > .fn__flex-1:not(.fn__none) {
	margin-left: 3px;
}

但是发现界面加载之后元素默认没有添加 .fn__none,只有展开侧栏再收起才会加上。这部分逻辑也需要修改一下:

video.webm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant