.code-view{
max-width: 100%;
margin-left: auto;
margin-right: auto;
display: flex;
flex-wrap: wrap;
}
.view-box {
display: flex;
flex: 1 1 100%;
flex-wrap: wrap;
max-width: 100%;
}
.tree-items{
display: flex;
order: 1;
width: 100%;
margin-left: 0px;
margin-right: 0px;
flex-direction: column;
margin-bottom: 0px;
min-width: 0px;
}
.split{
height: 100%;
position: relative;
display: block;
width: 1px;
background-color: rgb(48, 54, 61);
margin-left: 0px;
}
.split-separator{
position: absolute;
inset: 0px -2px;
cursor: col-resize;
background-color: transparent;
transition-delay: 0.1s;
}
.tree-box {
--pane-min-width: 256px;
--pane-max-width-diff: 511px;
--pane-max-width: calc(100vw - var(--pane-max-width-diff));
width: 100%;
padding: 0px;
}
.items {
max-height: 100%;
height: 100%;
display: flex;
flex-direction: column;
}
.tree-nodes{
-webkit-box-flex: 1;
flex-grow: 1;
overflow-y: auto;
scrollbar-gutter: stable;
max-height: 100% !important;
}
.nodes{
padding: 8px 24px;
display: block;
}
.main{
display: flex;
flex-direction: column;
order: 2;
flex: 1 1 0;
-webkit-box-flex: 1;
min-width: 1px;
margin-right: auto;
}
@media screen and (min-width: 769px) {
.tree-items {
height: calc(100vh - 80px);
max-height: calc(100vh - 80px) !important;
}
}
@media screen and (min-width: 544px) {
.tree {
width: 100%;
}
}
@media screen and (min-width: 1280px) {
.tree-box {
--pane-max-width-diff: 959px;
}
}
@media screen and (min-width: 768px) {
.tree {
width: auto;
}
.tree-items{
width: auto;
position: sticky;
top: 0;
max-height: calc(100vh - (max(174px, 0px)));
flex-direction: row-reverse;
margin-right: 0;
margin-top: 0 !important;
margin-bottom: 0px !important;
}
.tree-box {
width: clamp(var(--pane-min-width),320px,var(--pane-max-width));
overflow: auto;
}
}
@media screen and (max-width: 640px) {
.view-box{
flex-direction: column;
}
.tree{
width: 100%;
max-height: 500px;
overflow-y: auto;
}
.main{
width: 100%;
}
}
@media (prefers-color-scheme: light){
.split{
background-color:rgb(233 233 233)
}
}