Merge pull request #137 from matrix-org/word-wrap
Stop weird text splitting
This commit is contained in:
commit
50e25956c1
@ -35,7 +35,7 @@ limitations under the License.
|
|||||||
color: $foreground;
|
color: $foreground;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
.linkHeader h1 {
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -129,7 +129,7 @@ const LinkCreatedTile: React.FC<ILinkCreatedTileProps> = (props) => {
|
|||||||
<img src={refreshIcon} alt="Go back to matrix.to home page" />
|
<img src={refreshIcon} alt="Go back to matrix.to home page" />
|
||||||
</button>
|
</button>
|
||||||
<a href={props.link}>
|
<a href={props.link}>
|
||||||
<h1>{props.link}</h1>
|
<h1 className="linkHeader">{props.link}</h1>
|
||||||
</a>
|
</a>
|
||||||
<Button
|
<Button
|
||||||
flashChildren={'Copied'}
|
flashChildren={'Copied'}
|
||||||
|
Loading…
Reference in New Issue
Block a user