diff --git a/lib/DDG/Goodie/RegexCheatSheet.pm b/lib/DDG/Goodie/RegexCheatSheet.pm index 74f2322bf..d7312f1ca 100644 --- a/lib/DDG/Goodie/RegexCheatSheet.pm +++ b/lib/DDG/Goodie/RegexCheatSheet.pm @@ -267,7 +267,7 @@ handle remainder => sub { my $html_output = "
"; $html_output .= join ("
", @html_columns); $html_output .= "
"; - return answer => $text_output, html => append_css($html_output); + return answer => $text_output, html => append_css($html_output), heading => 'Regex Cheat Sheet'; }; 1; diff --git a/share/goodie/regex_cheat_sheet/style.css b/share/goodie/regex_cheat_sheet/style.css index d0564195d..d8010f5ca 100644 --- a/share/goodie/regex_cheat_sheet/style.css +++ b/share/goodie/regex_cheat_sheet/style.css @@ -23,4 +23,10 @@ #zero_click_abstract table.regex-table { width: 100%; margin-bottom: 1ex; +} + +@media (max-width: 380px) { + #zero_click_abstract .regex-column { + width: 100%; + } } \ No newline at end of file