1
0
mirror of https://github.com/koloml/furbooru-tagging-assistant.git synced 2025-12-24 07:12:57 +00:00

Moved styling of the textarea inside FormControl

This commit is contained in:
2024-07-07 19:09:19 +04:00
parent d3fc78533d
commit 60914e11c4
2 changed files with 13 additions and 7 deletions

View File

@@ -5,6 +5,7 @@
import Menu from "$components/ui/menu/Menu.svelte";
import MenuItem from "$components/ui/menu/MenuItem.svelte";
import FormContainer from "$components/ui/forms/FormContainer.svelte";
import FormControl from "$components/ui/forms/FormControl.svelte";
const profileId = $page.params.id;
@@ -35,7 +36,9 @@
<hr>
</Menu>
<FormContainer>
<textarea readonly rows="6">{isCompressedProfileShown ? compressedProfile : exportedProfile}</textarea>
<FormControl label="Export string">
<textarea readonly rows="6">{isCompressedProfileShown ? compressedProfile : exportedProfile}</textarea>
</FormControl>
</FormContainer>
<Menu>
<hr>
@@ -48,9 +51,3 @@
{/if}
</MenuItem>
</Menu>
<style lang="scss">
textarea {
resize: vertical;
}
</style>