Skip to content

Commit

Permalink
hide filter controls in pocketlaw
Browse files Browse the repository at this point in the history
  • Loading branch information
longhotsummer committed Jul 17, 2024
1 parent ccd6c7b commit 3a6b266
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion peachjam/static/stylesheets/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ footer {
}

html[data-user-agent*='pocketlaw'] .pocketlaw-hidden {
display: none;
display: none !important;
}

// force font size on mobile to 16 px
Expand Down
10 changes: 6 additions & 4 deletions peachjam/templates/peachjam/_document_table_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
<div class="offcanvas-body"></div>
</div>
<div class="row">
<div class="col-lg-3 d-none d-lg-block document-list-facets-wrapper">
<ul class="list-group document-list-facets pocketlaw-hidden">
<div class="col-lg-3 d-none d-lg-block document-list-facets-wrapper pocketlaw-hidden">
<ul class="list-group document-list-facets">
{% if taxonomy_tree|length > 0 and not is_leaf_node %}
<div class="mb-2">{% include "peachjam/_taxonomy_tree_facet.html" %}</div>
{% endif %}
Expand Down Expand Up @@ -101,11 +101,13 @@
{% endfor %}
</ul>
</div>
<div class="col-lg-9">
<div class="col">
<div class="position-relative">
{% block content %}
{% block filter-documents %}
<div class="mb-2 d-flex" hx-target="#doc-table" hx-push-url="true">
<div class="mb-2 d-flex pocketlaw-hidden"
hx-target="#doc-table"
hx-push-url="true">
<div class="flex-grow-1 me-2">
<input id="filter-input"
hx-get="{{ request.path }}"
Expand Down

0 comments on commit 3a6b266

Please sign in to comment.