Files
textual/examples/code_browser.tcss
2025-07-16 18:31:35 +01:00

32 lines
430 B
Plaintext

Screen {
&:inline {
height: 50vh;
}
}
#tree-view {
display: none;
scrollbar-gutter: stable;
overflow: auto;
width: auto;
height: 100%;
dock: left;
}
CodeBrowser.-show-tree #tree-view {
display: block;
max-width: 50%;
}
#code-view {
overflow: auto scroll;
min-width: 100%;
hatch: right $panel;
}
#code {
width: auto;
padding: 0 1;
background: $surface;
}