-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
V3.8.2 enable resize inspector preview area height #16219
Changes from all commits
b5ec739
7e4380c
495a9da
c1724e4
7d4fd58
b70635b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,11 +101,33 @@ | |
display: flex; | ||
flex-direction: column; | ||
overflow: hidden; | ||
position: relative; | ||
} | ||
|
||
:host > .container > .content > section > inspector-resize-preview { | ||
position: absolute; | ||
left: 0; | ||
right: 0; | ||
z-index: 10; | ||
} | ||
|
||
:host > .container > .content > section > inspector-resize-preview[area="header"] { | ||
bottom: 0; | ||
} | ||
|
||
:host > .container > .content > section > inspector-resize-preview[area="footer"] { | ||
top: 0; | ||
} | ||
|
||
:host > .container > .content > .content-header, | ||
:host > .container > .content > .content-footer { | ||
max-height: 80vh; | ||
} | ||
Comment on lines
+107
to
125
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. avoid using unnecessary nested selector and it's better not to reply on specific DOM structure. make it clear, make it simple There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Specific structure selector can reduce false matches. |
||
|
||
:host > .container > .content > .content-section { | ||
flex: 1; | ||
overflow: auto; | ||
min-height: 200px; | ||
} | ||
|
||
:host > .container > .content > section > ui-panel { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why using
setTimeout
here?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
因为 fbx 的头部区域也在初始化监听此广播事件,此为发送位置,需要等下监听位置初始化完成