mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
fix long links in notice
This commit is contained in:
parent
0a9467326a
commit
ebece99a1f
2 changed files with 5 additions and 1 deletions
|
@ -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')
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue