Skip to content

Commit

Permalink
Standardize padding/margin for Tabs, remove redundant id (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
moozzi authored Apr 25, 2024
1 parent ed32649 commit 47237ec
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 8 deletions.
8 changes: 8 additions & 0 deletions public/stylesheets/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,14 @@ body.dark-mode main a {
border-top: 0;
}

.tabs {
margin: 0px !important;
}

.tabs-content {
padding: 1rem 1.5rem !important;
}

.tabs ul li a {
text-decoration: none;
}
Expand Down
4 changes: 2 additions & 2 deletions views/masscan.erb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<button type="submit" class="button is-primary">Scan</button>
</div>

<div class="tabs is-centered m-0">
<div class="tabs is-centered">
<ul>
<li class="is-active"><a data-tab-id="general">General</a></li>
<li><a data-tab-id="timing">Timing</a></li>
Expand All @@ -50,7 +50,7 @@
</ul>
</div>

<div class="tabs-content px-4 py-5" id="tab-content">
<div class="tabs-content">
<div id="general" class="content-tab is-active">
<div class="field">
<label class="has-text-weight-semibold">Ping:</label>
Expand Down
4 changes: 2 additions & 2 deletions views/nmap.erb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<button type="submit" class="button is-primary">Scan</button>
</div>

<div class="tabs is-centered m-0">
<div class="tabs is-centered">
<ul>
<li class="is-active"><a data-tab-id="target">Target</a></li>
<li><a data-tab-id="host-discovery">Host Discovery</a></li>
Expand All @@ -52,7 +52,7 @@
</ul>
</div>

<div class="tabs-content px-4 py-5" id="tab-content">
<div class="tabs-content">
<div id="target" class="content-tab is-active">
<div class="field">
<label class="label">Target File</label>
Expand Down
4 changes: 2 additions & 2 deletions views/spider.erb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<button type="submit" class="button is-primary">Spider</button>
</div>

<div class="tabs is-centered m-0">
<div class="tabs is-centered">
<ul>
<li class="is-active"><a data-tab-id="general">General</a></li>
<li><a data-tab-id="header">Header</a></li>
Expand All @@ -41,7 +41,7 @@
</ul>
</div>

<div class="tabs-content px-4 py-5" id="tab-content">
<div class="tabs-content">
<div id="general" class="content-tab is-active">
<div class="field">
<label class="label">Proxy:</label>
Expand Down
4 changes: 2 additions & 2 deletions views/vulns.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<button type="submit" class="button is-primary">Scan</button>
</div>

<div class="tabs is-centered m-0">
<div class="tabs is-centered">
<ul>
<li class="is-active"><a data-tab-id="lfi">LFI</a></li>
<li><a data-tab-id="rfi">RFI</a></li>
Expand All @@ -33,7 +33,7 @@
</ul>
</div>

<div class="tabs-content px-4 py-5" id="tab-content">
<div class="tabs-content">
<div id="lfi" class="content-tab is-active">
<div class="field">
<label class="label">Os</label>
Expand Down

0 comments on commit 47237ec

Please sign in to comment.