Formatted spacing of popup ui
This commit is contained in:
parent
cb3bdf9e92
commit
bdb3ea0d72
4 changed files with 32 additions and 16 deletions
|
|
@ -14,7 +14,6 @@ const DebugSettings = ({ type, title, ip, profile, setProfile }) => {
|
|||
chrome.storage.sync.set({ [type]: ipTypeValue })
|
||||
}
|
||||
} else if (profile === 'custom') {
|
||||
console.log(2)
|
||||
chrome.storage.sync.get([type], (result) => {
|
||||
console.log(type)
|
||||
console.log(result)
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ const Popup = () => {
|
|||
<UserAgentSettings ip={ip} type="lat" title="Latitude" />
|
||||
<div
|
||||
style={{
|
||||
margin: '12px 0 0 0',
|
||||
margin: '8px 0 0 0',
|
||||
fontSize: '10px',
|
||||
}}
|
||||
>
|
||||
|
|
|
|||
|
|
@ -58,22 +58,32 @@ const UserAgentSettings = () => {
|
|||
/>
|
||||
<label>User Agent</label>
|
||||
</div>
|
||||
<label>
|
||||
<input type="checkbox" checked={randomUA} onChange={randomize} />
|
||||
Randomize every
|
||||
</label>
|
||||
<label>
|
||||
<input
|
||||
type="text"
|
||||
value={interval}
|
||||
onChange={changeInterval}
|
||||
<div
|
||||
style={{
|
||||
margin: '6px 0 0 0',
|
||||
}}
|
||||
>
|
||||
<label
|
||||
style={{
|
||||
width: '24px',
|
||||
margin: '0 5px 0 0',
|
||||
margin: '0 6px 0 0',
|
||||
}}
|
||||
/>
|
||||
minutes
|
||||
</label>
|
||||
>
|
||||
<input type="checkbox" checked={randomUA} onChange={randomize} />
|
||||
Randomize every
|
||||
</label>
|
||||
<label>
|
||||
<input
|
||||
type="text"
|
||||
value={interval}
|
||||
onChange={changeInterval}
|
||||
style={{
|
||||
width: '24px',
|
||||
margin: '0 4px 0 0',
|
||||
}}
|
||||
/>
|
||||
minutes
|
||||
</label>
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,3 +18,10 @@ body {
|
|||
margin: 0;
|
||||
font-family: 'Segoe UI', Tahoma, sans-serif;
|
||||
}
|
||||
|
||||
input[type=checkbox] {
|
||||
vertical-align: middle;
|
||||
position: relative;
|
||||
bottom: 1px;
|
||||
margin: 0 4px 0 0
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue