Merge pull request #137 from matrix-org/word-wrap

Stop weird text splitting
This commit is contained in:
Jorik Schellekens 2020-09-23 17:03:37 +01:00 committed by GitHub
commit 50e25956c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ limitations under the License.
color: $foreground;
}
h1 {
.linkHeader h1 {
word-break: break-all;
}

View File

@ -129,7 +129,7 @@ const LinkCreatedTile: React.FC<ILinkCreatedTileProps> = (props) => {
<img src={refreshIcon} alt="Go back to matrix.to home page" />
</button>
<a href={props.link}>
<h1>{props.link}</h1>
<h1 className="linkHeader">{props.link}</h1>
</a>
<Button
flashChildren={'Copied'}