tree width
This commit is contained in:
@@ -5,9 +5,16 @@
|
|||||||
<script src="https://cdn.jsdelivr.net/npm/easymde/dist/easymde.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/easymde/dist/easymde.min.js"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/highlight.js/latest/highlight.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/highlight.js/latest/highlight.min.js"></script>
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/highlight.js/latest/styles/github.min.css">
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/highlight.js/latest/styles/github.min.css">
|
||||||
|
<!-- TODO
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/light.css">
|
||||||
|
-->
|
||||||
<style>
|
<style>
|
||||||
#tree summary {
|
#tree {
|
||||||
min-width: 180px;
|
max-width: 15em;
|
||||||
|
overflow-x: scroll;
|
||||||
|
}
|
||||||
|
#tree > details summary {
|
||||||
|
min-width: 10em;
|
||||||
}
|
}
|
||||||
#tree details {
|
#tree details {
|
||||||
padding-inline-start: 1em;
|
padding-inline-start: 1em;
|
||||||
@@ -24,7 +31,7 @@
|
|||||||
#tree summary > div > a {
|
#tree summary > div > a {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
#tree summary > div > input:first-child {
|
#tree summary > div > input:first-child {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user