' . $message . '
diff --git a/public/style.css b/public/style.css index bb21df4..ae6c78c 100644 --- a/public/style.css +++ b/public/style.css @@ -228,6 +228,8 @@ input[type=submit] { transition: background 0.5s; cursor: pointer; margin: 0; + padding: 7px; + display: inline-block; } .button:hover, .zeroclipboard-is-hover { @@ -240,11 +242,17 @@ input[type=submit] { /* Output */ .error { - color: red; - font-weight: bold; text-align: center; } +.error p.message { + margin-bottom: 30px; +} + +.error p .key { + font-weight: bold; +} + .copy-button { margin-top: 2px; } @@ -308,7 +316,6 @@ svg#url-qr-code { } .bookmarklet { - padding: 7px; font-size: 1.4rem; color: black; } diff --git a/result.php b/result.php index 6063b9c..49c22eb 100644 --- a/result.php +++ b/result.php @@ -7,16 +7,36 @@ if ( ISQ::$general['clipboard'] ) { $dependencies[] = 'ZeroClipboard'; }; -function display_error($message) { - echo '
' . $message . '
' . yourls__( '← Go back and try again', 'isq_translation' ) . '
'; + } + echo '