Skip to content

Commit

Permalink
fix: break long filenames in BulkGenerationTable
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaucau committed Jul 31, 2024
1 parent 65cb210 commit 7c8ec39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/components/BulkGenerateModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ import {
Flex,
FlexItem,
Modal,
TextareaControl,
TextControl,
ToggleControl,
} from "@wordpress/components";
import { __, _n, _x, sprintf } from "@wordpress/i18n";
import { __, _n, sprintf } from "@wordpress/i18n";
import { decodeEntities } from "@wordpress/html-entities";

import type { AltGenerationMap } from "../types";
Expand Down
2 changes: 1 addition & 1 deletion src/components/BulkGenerationTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default function BulkGenerationTable({
Array.from(generationMap, ([id, details]) => (
<tr key={id}>
<td>
<a href={details.source_url} target="_blank">
<a href={details.source_url} target="_blank" style={{lineBreak: "anywhere"}}>
<Flex align="start" justify="start">
{details.thumbnail && (
<img
Expand Down

0 comments on commit 7c8ec39

Please sign in to comment.