UI minor fixes

This commit is contained in:
Arkadiusz Wieczorek 2022-07-06 19:03:15 +02:00
parent e47bb1e9b8
commit 0efaa39d45
3 changed files with 10 additions and 8 deletions

View File

@ -137,13 +137,18 @@ export default function StolenDataCluster({
getMemory().emit('change', cluster.id); getMemory().emit('change', cluster.id);
}} }}
/> />
<a className="domain" href={'https://' + cluster.id}> <a className="domain" href={'https://' + cluster.id} target="_blank">
{cluster.id} {cluster.id}
</a> </a>
</div> </div>
<div className="subdomains-container"> <div className="subdomains-container">
{fullHosts.map((host, index) => ( {fullHosts.map((host, index) => (
<a className="subdomain" key={host} href={`https://${host}`}> <a
className="subdomain"
key={host}
href={`https://${host}`}
target="_blank"
>
{host} {`${fullHosts.length - 1 !== index ? '· ' : ''}`} {host} {`${fullHosts.length - 1 !== index ? '· ' : ''}`}
</a> </a>
))} ))}

View File

@ -135,15 +135,11 @@ const Toolbar = () => {
<span>Przejdź do wybranej strony internetowej</span> <span>Przejdź do wybranej strony internetowej</span>
)} )}
</div> </div>
{stolenDataView ? ( {origin ? (
<a href="https://internet-czas-dzialac.pl"> <a href="https://internet-czas-dzialac.pl">
<img src="/assets/icons/info_circle_outline.svg" width="20" height="20" /> <img src="/assets/icons/info_circle_outline.svg" width="20" height="20" />
</a> </a>
) : ( ) : null}
<button onClick={() => setStolenDataView(true)}>
<img src="/assets/icons/short_left.svg" width="20" height="20" />
</button>
)}
</header> </header>
<section className="summary"> <section className="summary">

View File

@ -81,6 +81,7 @@ export default function Options({
<input <input
type="number" type="number"
id="minValueLength" id="minValueLength"
min={1}
value={minValueLength} value={minValueLength}
onChange={(e) => { onChange={(e) => {
setMinValueLength(parseInt(e.target.value)); setMinValueLength(parseInt(e.target.value));