RegexCheatSheet: Added a heading and a media query.
Should change the layout at around 380px.master
parent
59e371931d
commit
cca3ba60e8
|
@ -267,7 +267,7 @@ handle remainder => sub {
|
|||
my $html_output = "<div id='regex-container'><div class='regex-column'>";
|
||||
$html_output .= join ("</div><div class='regex-column'>", @html_columns);
|
||||
$html_output .= "</div></div>";
|
||||
return answer => $text_output, html => append_css($html_output);
|
||||
return answer => $text_output, html => append_css($html_output), heading => 'Regex Cheat Sheet';
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
@ -24,3 +24,9 @@
|
|||
width: 100%;
|
||||
margin-bottom: 1ex;
|
||||
}
|
||||
|
||||
@media (max-width: 380px) {
|
||||
#zero_click_abstract .regex-column {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue