ui: tree: change fragment warning position

ui: inspector: change help cursor
This commit is contained in:
jean-emmanuel 2021-12-15 11:37:34 +01:00
parent ac74d28d0e
commit 1bed4962e4
2 changed files with 2 additions and 2 deletions

View file

@ -59,8 +59,8 @@ class UiTree extends UiWidget {
super(options)
this.mounted = false
this.filter = this.container.appendChild(html`<input class="filter" type="text" placeholder="${locales('tree_filter')}..."/>`)
this.fragment = this.container.appendChild(html`<div class="fragment-mode-warning" title="${locales('fragment_mode_explanation')}">${raw(icon('exclamation-triangle'))} ${locales('fragment_mode_warning')}</div>`)
this.filter = this.container.appendChild(html`<input class="filter" type="text" placeholder="${locales('tree_filter')}..."/>`)
this.wrapper = this.container.appendChild(html`<div class="tree"></div>`)
this.list = this.wrapper.appendChild(html`<ol style="--depth: 1"></ol`)
this.dragDummy = html`<span></span>`

View file

@ -35,7 +35,7 @@ osc-inspector-field {
padding-right: 4rem;
line-height: $field-height;
height: $field-height;
cursor: help;
cursor: pointer;
background: var(--color-ui-background-active);
border:1rem solid var(--color-background);
border-right: none;