40 lines
534 B
CSS
40 lines
534 B
CSS
.file-browser {
|
|||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
|
||
|
|
display: flex;
|
||
|
|
|
||
|
|
overflow-x: scroll;
|
||
|
|
overflow-y: hidden;
|
||
|
|
scroll-behavior: smooth;
|
||
|
|
scroll-snap-type: x mandatory;
|
||
|
|
}
|
||
|
|
|
||
|
|
.file-browser > div {
|
||
|
|
width: 100%;
|
||
|
|
min-width: 100%;
|
||
|
|
flex: 0;
|
||
|
|
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
|
||
|
|
padding: var(--content-padding);
|
||
|
|
|
||
|
|
scroll-snap-align: center;
|
||
|
|
overflow: auto;
|
||
|
|
}
|
||
|
|
|
||
|
|
.file-browser code {
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (min-width: 640px) {
|
||
|
|
.file-browser > div {
|
||
|
|
width: 50%;
|
||
|
|
min-width: 50%;
|
||
|
|
|
||
|
|
flex: 1;
|
||
|
|
}
|
||
|
|
}
|