mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-20 17:03:42 +00:00
feat: try typing field in chords section
resolves #68 fix: "No Results" not translated
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user