Files
CT/src/View/Components/fileBrowser.css
T

62 lines
901 B
CSS
Raw Normal View History

2024-07-21 17:55:53 +02:00
.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 {
2024-07-21 18:56:56 +02:00
display: flex;
flex-direction: column;
2024-07-21 17:55:53 +02:00
width: 100%;
min-width: 100%;
flex: 0;
2024-07-21 18:56:56 +02:00
scroll-snap-align: center;
}
.file-browser .scroll-area {
flex: 1;
width: 100%;
height: 100%;
overflow-y: auto;
padding: var(--content-padding);
}
.file-browser .detail-button-wrapper {
2024-07-21 17:55:53 +02:00
display: flex;
2024-07-21 18:56:56 +02:00
justify-content: end;
2024-07-21 17:55:53 +02:00
2024-07-21 18:56:56 +02:00
border-top: 1px solid var(--border);
2024-07-21 17:55:53 +02:00
padding: var(--content-padding);
2024-07-21 18:56:56 +02:00
}
2024-07-21 17:55:53 +02:00
2024-07-21 18:56:56 +02:00
.file-browser .detail-button-wrapper button {
max-width: 100%;
2024-07-21 17:55:53 +02:00
}
.file-browser code {
width: 100%;
height: 100%;
}
@media (min-width: 640px) {
.file-browser > div {
width: 50%;
min-width: 50%;
flex: 1;
}
2024-07-21 18:56:56 +02:00
.file-browser .detail-button-wrapper {
display: none;
}
2024-07-21 17:55:53 +02:00
}