GUI improvements
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -111,7 +111,7 @@
|
||||
<span>
|
||||
<input type="text" bind:value={candidate.display} {onkeyup} autofocus={autofocus} {id} />
|
||||
{#if candidates && candidates.length > 0}
|
||||
<select bind:value={selected} {ondblclick} multiple tabindex="-1">
|
||||
<select bind:value={selected} {ondblclick} multiple tabindex="-1" class="autocomplete" size={Math.min(candidates.length,10)}>
|
||||
{#each candidates as candidate,i}
|
||||
<option value={i}>{candidate.display}</option>
|
||||
{/each}
|
||||
|
||||
@@ -426,6 +426,10 @@ a.wikilink{
|
||||
display: block;
|
||||
}
|
||||
|
||||
select.autocomplete{
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.grid2{
|
||||
display: grid;
|
||||
grid-template-columns: 230px auto;
|
||||
@@ -442,6 +446,10 @@ a.wikilink{
|
||||
grid-template-columns: [left] 1fr [first] 1fr [second] 1fr [right]
|
||||
}
|
||||
|
||||
.stock.grid3{
|
||||
grid-template-columns: [left] 1fr [first] 1fr [second] 2fr [right]
|
||||
}
|
||||
|
||||
.grid3 .locations {
|
||||
grid-row-end: span 3;
|
||||
}
|
||||
|
||||
@@ -529,6 +529,10 @@ a.wikilink{
|
||||
display: block;
|
||||
}
|
||||
|
||||
select.autocomplete{
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.grid2{
|
||||
display: grid;
|
||||
grid-template-columns: 230px auto;
|
||||
|
||||
@@ -519,6 +519,10 @@ a.wikilink{
|
||||
display: block;
|
||||
}
|
||||
|
||||
select.autocomplete{
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.grid2{
|
||||
display: grid;
|
||||
grid-template-columns: 230px auto;
|
||||
|
||||
Reference in New Issue
Block a user