SHA: move from inline CSS.
parent
ebd15f598a
commit
4e7ad3143e
|
@ -45,7 +45,7 @@ handle query => sub {
|
|||
$str = $command2 eq 'base64' ? Digest::SHA::sha1_base64($str) : Digest::SHA::sha1_hex($str);
|
||||
}
|
||||
|
||||
return $str, heading => "SHA-$command1 hash", html => "<div style='word-wrap: break-word'>$str</div>";
|
||||
return $str, heading => "SHA-$command1 hash", html => "<div class='zci--sha'>$str</div>";
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
.zci--answer .zci--sha {
|
||||
font-weight: 300;
|
||||
padding: .25em 0;
|
||||
word-wrap: break-word;
|
||||
}
|
Loading…
Reference in New Issue