URLEncode: Making consistent style-wise with URLDecode
parent
6b9f116654
commit
8b0d4d1697
|
@ -28,7 +28,7 @@ handle remainder => sub {
|
|||
my $encoded_url = encodeURIComponent($_);
|
||||
|
||||
my $text = "Percent-encoded URL: $encoded_url";
|
||||
my $html = qq(<div class="zci--urlencode"><span class="text--secondary">Percent-encoded URL: </span><span class="text--primary">$encoded_url</span></div>);
|
||||
my $html = qq(<div class="zci--urlencode"><div class="text--secondary mini-title">Percent-encoded URL: </div><div class="text--primary url_encoded">$encoded_url</div></div>);
|
||||
|
||||
return $text, html => $html;
|
||||
};
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
padding-top: 0.25em;
|
||||
padding-bottom: 0.25em;
|
||||
font-weight: 300;
|
||||
font-size: 1.5em;
|
||||
word-wrap:break-word;
|
||||
}
|
||||
|
||||
.zci--answer .zci--urlencode .url_encoded {
|
||||
font-size: 1.5em;
|
||||
}
|
Loading…
Reference in New Issue