Skip to content

Commit

Permalink
Issue #1193. Add a .wc-HomePage class to <main> on home page.
Browse files Browse the repository at this point in the history
This allows us to hide the form by default on the home page, and show
it by default on the /issues/new page.
  • Loading branch information
Mike Taylor committed Oct 7, 2016
1 parent 59c81b4 commit d281005
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @define ReportForm */

.wc-ReportForm {
.wc-HomePage .wc-ReportForm {
display: none;
}

Expand Down
2 changes: 1 addition & 1 deletion webcompat/templates/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{%- extends "layout.html" -%}
{%- block body -%}
{% include "topbar.html" %}
<main role="main">
<main role="main" class="wc-HomePage">
<div class="wc-Loader js-Loader"></div>
{% include "home-page/hero.html" %}
{% include "home-page/form.html" %}
Expand Down

0 comments on commit d281005

Please sign in to comment.