Skip to content

Commit

Permalink
Add linewraps to oneline l10n fields
Browse files Browse the repository at this point in the history
  • Loading branch information
dokempf committed Jul 19, 2024
1 parent 259765d commit b0cfd63
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/fields/OnelineL10nTextField.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { dataLanguagesStore } from "../../lib/stores";
import { orderLanguages } from "../../lib/l10n";
import { Table, TableBody, TableBodyRow, TableBodyCell } from "flowbite-svelte";
import { P, Table, TableBody, TableBodyRow, TableBodyCell } from "flowbite-svelte";
export let data;
export let field;
Expand All @@ -17,7 +17,9 @@
{#each orderLanguages(Object.keys(fdata), $dataLanguagesStore) as lang}
<TableBodyRow>
<TableBodyCell>
<span class="easydb-oneline-l10n-text-field">{fdata[lang]}</span>
<P class="w-full">
<span class="easydb-oneline-l10n-text-field">{fdata[lang]}</span>
</P>
</TableBodyCell>
<TableBodyCell class="w-1/4">
<span class="easydb-oneline-l10n-language-code">{lang}</span>
Expand Down

0 comments on commit b0cfd63

Please sign in to comment.