Skip to content

Commit

Permalink
fix contribute page on mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
adpare committed Oct 2, 2023
1 parent 3d14e30 commit 4b2b261
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
1 change: 0 additions & 1 deletion attack-theme/static/scripts/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ $(document).ready(function () {
$(".sidenav-head").click(function () {
localStorage.setItem("need_update", true);
localStorage.setItem("new_active_id", $(this).attr('id'));
$(this).addClass("active");
});

// If this method is called, then the user has clicked on a link in the subtechniques dropdown table.
Expand Down
24 changes: 12 additions & 12 deletions modules/resources/templates/contribute.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,18 +100,18 @@ <h4 class="contribution-headers">Contribution Examples</h4>
<div class="new-examples">
<h5>New Technique Example</h5>
<div class="example-container">
<div class="examples-div">
<h6 class="example-fields">(Sub-)Technique Name:</h6>
<p class="examples-p mr-0">COM, ROM, & BE GONE </p>
<h6 class="margin-contribute-a example-fields">Tactic:</h6>
<p class="examples-p">Persistence</p>
</div>
<div class="examples-div">
<h6 class="example-fields">Platform:</h6>
<p class="examples-p mr-0">Windows </p>
<h6 class="margin-contribute-b example-fields">Required Permissions:</h6>
<p class="examples-p mr-0">User</p>
</div>
<p class="examples-p mr-0 ml-0">
<span class="example-fields">(Sub-)Technique Name:</span> COM, ROM, & BE GONE
</p>
<p class="examples-p mr-0 ml-0">
<span class="example-fields">Tactic:</span> Persistence
</p>
<p class="examples-p mr-0 ml-0">
<span class="example-fields">Platform:</span> Windows
</p>
<p class="examples-p mr-0 ml-0">
<span class="example-fields">Required Permissions:</span> User
</p>
<p class="examples-p mr-0 ml-0">
<span class="example-fields">Sub-techniques:</span> This is a sub-technique of T1XXX, or this would have T1XXX as a sub-technique
</p>
Expand Down

0 comments on commit 4b2b261

Please sign in to comment.