Skip to content

Commit

Permalink
browse fw template: hide horizontal lines if we have str match data
Browse files Browse the repository at this point in the history
  • Loading branch information
jstucke committed Jun 25, 2024
1 parent 2158982 commit 9aad142
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/web_interface/templates/database/database_browse.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
transition: border-radius 0.35s linear;
}
.btn-block:not(.collapsed) {
border-radius: 0.75rem 0.75rem 0 0;
border-radius: 1.5rem 1.5rem 0 0;
}
.btn-block.collapsed {
border-radius: 0.75rem;
Expand All @@ -24,10 +24,16 @@
margin: 0;
}
.match-str-div {
border-radius: 0 0 0.75rem 0.75rem;
border-radius: 0 0 1.5rem 1.5rem;
padding: 0;
background: white;
}
{% if search_parameters.yara_match_data %}
.list-group-item {
border: 0;
border-radius: 0 0 1.5rem 1.5rem;
}
{% endif %}
</style>
{% endblock %}

Expand Down

0 comments on commit 9aad142

Please sign in to comment.