fix(frontend): layout viewport selector, credentials tab order, Attackers.css shared import

This commit is contained in:
2026-04-30 22:16:46 -04:00
parent eb34d0b1ea
commit 3cb0203d07
8 changed files with 55 additions and 34 deletions

View File

@@ -224,23 +224,6 @@ const Credentials: React.FC = () => {
</div>
</div>
<div className="seg-group" role="tablist" style={{ marginBottom: 12 }}>
<button
type="button"
className={tab === 'creds' ? 'active' : ''}
onClick={() => setTab('creds')}
>
CREDS
</button>
<button
type="button"
className={tab === 'reuse' ? 'active' : ''}
onClick={() => setTab('reuse')}
>
REUSE
</button>
</div>
{tab === 'creds' && (
<form className="controls-row" onSubmit={handleSearch}>
<div className="search-container">
@@ -275,6 +258,23 @@ const Credentials: React.FC = () => {
</form>
)}
<div className="seg-group" role="tablist" style={{ marginBottom: 12 }}>
<button
type="button"
className={tab === 'creds' ? 'active' : ''}
onClick={() => setTab('creds')}
>
CREDS
</button>
<button
type="button"
className={tab === 'reuse' ? 'active' : ''}
onClick={() => setTab('reuse')}
>
REUSE
</button>
</div>
<div className="logs-section">
<div className="section-header">
<div className="section-title">