mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
code browser and fixes
This commit is contained in:
26
examples/code_browser.css
Normal file
26
examples/code_browser.css
Normal file
@@ -0,0 +1,26 @@
|
||||
#tree-view {
|
||||
display: none;
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
CodeBrowser.-show-tree #tree-view {
|
||||
display: block;
|
||||
dock: left;
|
||||
height: 100%;
|
||||
width: auto;
|
||||
background: $surface;
|
||||
|
||||
}
|
||||
|
||||
CodeBrowser{
|
||||
background: $surface-darken-1;
|
||||
}
|
||||
|
||||
DirectoryTree {
|
||||
padding-right: 1;
|
||||
|
||||
}
|
||||
|
||||
#code {
|
||||
width: auto;
|
||||
}
|
||||
Reference in New Issue
Block a user