Compare commits
1 Commits
93a1e1268a
...
fb88fd2d3e
| Author | SHA1 | Date |
|---|---|---|
|
|
fb88fd2d3e |
File diff suppressed because one or more lines are too long
|
|
@ -107,7 +107,7 @@
|
|||
and scrolls, so no row is ever cut in half (a halved row reads as an overlap)
|
||||
and nothing from the tree is painted underneath the dock. */
|
||||
.wgDock {
|
||||
flex:0 0 auto;
|
||||
flex:0 1 auto;
|
||||
min-width:0;
|
||||
/* A plain pixel floor (bucket row + workspace row + padding). A content-based
|
||||
floor would outweigh max-height, letting the dock grow to the whole session
|
||||
|
|
|
|||
|
|
@ -58,6 +58,9 @@ const block = (selector) => {
|
|||
const start = match.index + match[0].length - match[1].length
|
||||
return css.slice(start, css.indexOf('}', start))
|
||||
}
|
||||
assert.match(block('.wgRoot'), /height:100%/, 'the root consumes the sidebar slot height')
|
||||
assert.match(block('.wgRoot'), /max-height:100%/, 'the root cannot grow past its slot')
|
||||
assert.match(block('.wgRoot'), /overflow:hidden/, 'the root clips instead of scrolling the whole sidebar')
|
||||
assert.match(block('.wgDock'), /border-top:1px solid/, 'the dock draws the divider against the tree')
|
||||
assert.match(block('.wgDock'), /max-height:min\(62vh,560px\)/, 'the dock is capped so the tree always keeps room')
|
||||
assert.match(block('.wgDock'), /overflow:hidden/, 'the dock clips its own overflow instead of painting over the tree')
|
||||
|
|
|
|||
Loading…
Reference in New Issue