fix overflowing user input

This commit is contained in:
Brandon Thomas committed 2021-09-03 02:49:09 -04:00
1 parent 8e554f6ed1
commit 05759da227
4 files changed
+8 -3

No files matched your search

+5
View File
@@ -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>
&nbsp;
</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>