mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
UI improvement for hierarchy tree (#834)
* style(hierarchy tree): improve responsivness Fix details on the bottom of the dialog Make the tree view take the rest of the available space of the dialog * style(hierarchy tree): distinguish buttons Distinguish between action buttons and remove origins tags-like button * typo(hierarchy tree): change button label and tips * fix(hierarchy tree): disable top node interactions * chore: update version/hash to v1.86.07 * chore: update version/hash to v1.86.08 * fix: bad hash versions * fix: update index.html to correct versions
This commit is contained in:
parent
acd9531bb8
commit
7c10fd7b6c
1 changed files with 12 additions and 2 deletions
|
|
@ -62,8 +62,18 @@ export function open(props) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function appendStyleSheet() {
|
function appendStyleSheet() {
|
||||||
const style = document.createElement("style");
|
const styles = /* css */ `
|
||||||
style.textContent = /* css */ `
|
|
||||||
|
#hierarchyTree {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
#hierarchyTree > svg {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
#hierarchyTree_selectedOrigins > button {
|
#hierarchyTree_selectedOrigins > button {
|
||||||
margin: 0 2px;
|
margin: 0 2px;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue