style: adjust spacing
This commit is contained in:
parent
5ff37826d8
commit
a613615382
2 changed files with 1 additions and 9 deletions
|
|
@ -121,7 +121,7 @@ export default function NoteList({
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{newEvents.length > 0 && (
|
{newEvents.length > 0 && (
|
||||||
<div className="flex justify-center w-full mb-4">
|
<div className="flex justify-center w-full sm:mb-4 max-sm:mt-2">
|
||||||
<Button size="lg" onClick={showNewEvents}>
|
<Button size="lg" onClick={showNewEvents}>
|
||||||
{t('show new notes')}
|
{t('show new notes')}
|
||||||
</Button>
|
</Button>
|
||||||
|
|
|
||||||
|
|
@ -46,14 +46,6 @@ export function RelaySettingsProvider({ children }: { children: React.ReactNode
|
||||||
.map((url) => normalizeUrl(url))
|
.map((url) => normalizeUrl(url))
|
||||||
if (tempRelays.length) {
|
if (tempRelays.length) {
|
||||||
setTemporaryRelayUrls(tempRelays)
|
setTemporaryRelayUrls(tempRelays)
|
||||||
// remove relay urls from query string
|
|
||||||
searchParams.delete('r')
|
|
||||||
const newSearch = searchParams.toString()
|
|
||||||
window.history.replaceState(
|
|
||||||
{},
|
|
||||||
'',
|
|
||||||
`${window.location.pathname}${newSearch.length ? `?${newSearch}` : ''}`
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
const storedGroups = await storage.getRelayGroups()
|
const storedGroups = await storage.getRelayGroups()
|
||||||
setRelayGroups(storedGroups)
|
setRelayGroups(storedGroups)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue