Merge pull request #316 from h3y6e/reduce-spaces
Reduce space between the texts for selecting relays
This commit is contained in:
@ -86,16 +86,15 @@ export default function RootPage() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className="main-content">{pubKey && <Tabs tabs={tabs} tab={tab} setTab={setTab} />}</div>
|
<div className="main-content">
|
||||||
{isGlobal && globalRelays.length > 0 && (
|
{pubKey && <Tabs tabs={tabs} tab={tab} setTab={setTab} />}
|
||||||
<div className="flex mb10">
|
{isGlobal && globalRelays.length > 0 && (
|
||||||
<div className="f-grow">
|
<div className="flex mb10 f-end">
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
defaultMessage="Read global from"
|
defaultMessage="Read global from"
|
||||||
description="Label for reading global feed from specific relays"
|
description="Label for reading global feed from specific relays"
|
||||||
/>
|
/>
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<select onChange={e => setRelay(e.target.value)}>
|
<select onChange={e => setRelay(e.target.value)}>
|
||||||
{globalRelays.map(a => (
|
{globalRelays.map(a => (
|
||||||
<option key={a} value={a}>
|
<option key={a} value={a}>
|
||||||
@ -104,8 +103,8 @@ export default function RootPage() {
|
|||||||
))}
|
))}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
)}
|
||||||
)}
|
</div>
|
||||||
{followHints()}
|
{followHints()}
|
||||||
<Timeline
|
<Timeline
|
||||||
key={tab.value}
|
key={tab.value}
|
||||||
|
Reference in New Issue
Block a user