feat: try typing field in chords section

resolves #68
fix: "No Results" not translated
This commit is contained in:
2023-12-18 18:42:08 +01:00
parent 98b451eec9
commit ed523628ff
3 changed files with 22 additions and 1 deletions

View File

@@ -125,9 +125,10 @@
</tr>
{/each}
{:else}
<caption> No Results </caption>
<caption>{$LL.configure.chords.search.NO_RESULTS()}</caption>
{/if}
</table>
<textarea placeholder={$LL.configure.chords.TRY_TYPING()}></textarea>
</section>
<style lang="scss">
@@ -143,6 +144,20 @@
min-width: 8ch;
}
textarea {
transition: border-color 250ms ease;
background: none;
color: inherit;
border: 1px dashed var(--md-sys-color-surface-variant);
padding: 8px;
border-radius: 4px;
&:focus {
outline: none;
border-color: var(--md-sys-color-primary);
}
}
caption {
margin-top: 156px;
}
@@ -175,6 +190,7 @@
section {
position: relative;
display: flex;
overflow: hidden;
@@ -185,6 +201,7 @@
}
table {
height: fit-content;
overflow: hidden;
min-width: min(90vw, 16.5cm);
transition: all 1s ease;