mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 09:28:11 +00:00
fix overflowing user input
This commit is contained in:
1 parent
8e554f6ed1
commit
05759da227
4 files changed
+8
-3
No files matched your search
@@ -16,6 +16,11 @@ body {
|
||||
font-weight: 300; // For Fira Sans
|
||||
}
|
||||
|
||||
// Style for user text input that overflows
|
||||
.overflow-fix {
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.mainwrap {
|
||||
max-width: 700px;
|
||||
margin: auto;
|
||||
|
||||
@@ -108,7 +108,7 @@ function ProfileTtsInferenceResultsListFc(props: Props) {
|
||||
<tr key={result.tts_result_token}>
|
||||
<td>{result.maybe_creator_result_id}</td>
|
||||
<td>{visibilityIcon}</td>
|
||||
<th>
|
||||
<th className="overflow-fix">
|
||||
<Link to={inferenceLink}><span role="img" aria-label="result link">▶️</span> {text}</Link>
|
||||
|
||||
</th>
|
||||
|
||||
@@ -194,7 +194,7 @@ function TtsResultDeleteFc(props: Props) {
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Original Text</th>
|
||||
<td>
|
||||
<td className="overflow-fix">
|
||||
{ttsInferenceResult.raw_inference_text}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -208,7 +208,7 @@ function TtsResultViewFc(props: Props) {
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Original text</th>
|
||||
<td>
|
||||
<td className="overflow-fix">
|
||||
{ttsInferenceResult.raw_inference_text}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in new issue
Block a user