fix long links in notice

This commit is contained in:
Jeremy Kauffman 2017-02-27 16:09:01 -05:00
parent 0a9467326a
commit ebece99a1f
2 changed files with 5 additions and 1 deletions

View file

@ -59,7 +59,7 @@ lbry.quickstartForm = function (selector, apiUrl) {
$.post(apiUrl, postData) $.post(apiUrl, postData)
.done(function (responseData) { .done(function (responseData) {
var data = responseData.data; var data = responseData.data;
var anchor = $('<a class="link-primary"></a>'); var anchor = $('<a class="link-primary--break-word"></a>');
anchor.attr("href", "https://explorer.lbry.io/tx/" + data.TransactionHash); anchor.attr("href", "https://explorer.lbry.io/tx/" + data.TransactionHash);
anchor.html(data.TransactionHash) anchor.html(data.TransactionHash)
form.find('.notice-success') form.find('.notice-success')

View file

@ -82,6 +82,10 @@ section
{ {
@include anchor($color-primary); @include anchor($color-primary);
} }
.link-primary--break-word
{
word-break: break-all;
}
a:hover img a:hover img
{ {
opacity: 0.75; opacity: 0.75;