mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-21 20:44:18 +00:00
🔧 Improve spacing
This commit is contained in:
parent
5e3e62347e
commit
2b2280e2d4
5 changed files with 55 additions and 16 deletions
|
@ -26,7 +26,7 @@ export default new LocalizedStrings({
|
|||
passwd: "Password",
|
||||
|
||||
dashboard: "Dashboard",
|
||||
searchBy: "Ricerca per ",
|
||||
searchBy: "Ricerca per",
|
||||
byZone: "area",
|
||||
byHashtag: "hashtag",
|
||||
byUser: "utente",
|
||||
|
@ -35,7 +35,7 @@ export default new LocalizedStrings({
|
|||
timeAfter: "Dopo",
|
||||
conditions: "Condizioni",
|
||||
createRepo: "Crea repository",
|
||||
repoName: "Nome repository: ",
|
||||
repoName: "Nome repository",
|
||||
request: "Richiedi",
|
||||
filterOR: "Almeno una cond.",
|
||||
filterAND: "Tutte le cond.",
|
||||
|
@ -60,8 +60,8 @@ export default new LocalizedStrings({
|
|||
|
||||
settings: "Impostazioni",
|
||||
loggedInTitle: "Accesso effettuato",
|
||||
loggedInOn: "Al momento hai effettuato l'accesso su ",
|
||||
loggedInAs: " come ",
|
||||
loggedInOn: "Al momento hai effettuato l'accesso su",
|
||||
loggedInAs: "come",
|
||||
logout: "Esci",
|
||||
switchTheme: "Cambia tema",
|
||||
darkMode: "Scuro",
|
||||
|
@ -93,7 +93,7 @@ export default new LocalizedStrings({
|
|||
passwd: "Password",
|
||||
|
||||
dashboard: "Dashboard",
|
||||
searchBy: "Search by ",
|
||||
searchBy: "Search by",
|
||||
byZone: "zone",
|
||||
byHashtag: "hashtag",
|
||||
byUser: "user",
|
||||
|
@ -102,7 +102,7 @@ export default new LocalizedStrings({
|
|||
timeAfter: "After",
|
||||
conditions: "Conditions",
|
||||
createRepo: "Create repository",
|
||||
repoName: "Repository name: ",
|
||||
repoName: "Repository name",
|
||||
request: "Request",
|
||||
filterOR: "At least one cond.",
|
||||
filterAND: "Every cond.",
|
||||
|
@ -127,8 +127,8 @@ export default new LocalizedStrings({
|
|||
|
||||
settings: "Settings",
|
||||
loggedInTitle: "Logged in",
|
||||
loggedInOn: "You are currently logged in at ",
|
||||
loggedInAs: " as ",
|
||||
loggedInOn: "You are currently logged in at",
|
||||
loggedInAs: "as",
|
||||
logout: "Logout",
|
||||
switchTheme: "Switch theme",
|
||||
darkMode: "Dark",
|
||||
|
@ -169,7 +169,7 @@ export default new LocalizedStrings({
|
|||
timeAfter: "Jälkeen",
|
||||
conditions: "Ehdot",
|
||||
createRepo: "Luo arkisto",
|
||||
repoName: "Arkiston nimi: ",
|
||||
repoName: "Arkiston nimi",
|
||||
request: "Pyydä",
|
||||
filterOR: "Vähintään yksi ehto",
|
||||
filterAND: "Kaikki ehdot",
|
||||
|
@ -194,8 +194,8 @@ export default new LocalizedStrings({
|
|||
|
||||
settings: "Asetukset",
|
||||
loggedInTitle: "Kirjautunut sisään",
|
||||
loggedInOn: "Olet tällä hetkellä kirjautuneena sisään ",
|
||||
loggedInAs: " nimellä ",
|
||||
loggedInOn: "Olet tällä hetkellä kirjautuneena sisään",
|
||||
loggedInAs: "nimellä",
|
||||
logout: "Kirjaudu ulos",
|
||||
switchTheme: "Vaihda teema",
|
||||
darkMode: "Tumma",
|
||||
|
|
|
@ -51,7 +51,18 @@ export default function BoxConditionDatetime({ ...props }) {
|
|||
}
|
||||
|
||||
return (
|
||||
<BoxFull header={<span>{Localization.searchBy}<FontAwesomeIcon icon={faClock}/> {Localization.byTimePeriod}</span>} {...props}>
|
||||
<BoxFull
|
||||
header={
|
||||
<span>
|
||||
{Localization.searchBy}
|
||||
|
||||
<FontAwesomeIcon icon={faClock}/>
|
||||
|
||||
{Localization.byTimePeriod}
|
||||
</span>
|
||||
}
|
||||
{...props}
|
||||
>
|
||||
<FormInline onSubmit={onButtonClick}>
|
||||
<ButtonToggleBeforeAfter onUpdate={setBa}/>
|
||||
<InputWithIcon
|
||||
|
|
|
@ -42,7 +42,18 @@ export default function BoxConditionHashtag({ ...props }) {
|
|||
}
|
||||
|
||||
return (
|
||||
<BoxFull header={<span>{Localization.searchBy}<FontAwesomeIcon icon={faHashtag}/> {Localization.byHashtag}</span>} {...props}>
|
||||
<BoxFull
|
||||
header={
|
||||
<span>
|
||||
{Localization.searchBy}
|
||||
|
||||
<FontAwesomeIcon icon={faHashtag}/>
|
||||
|
||||
{Localization.byHashtag}
|
||||
</span>
|
||||
}
|
||||
{...props}
|
||||
>
|
||||
<FormInline onSubmit={onButtonClick}>
|
||||
<InputWithIcon
|
||||
className={Style.Input}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import React, { useCallback, useEffect, useState } from "react"
|
||||
import BoxFull from "../base/BoxFull"
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
|
||||
import { faMapPin, faPlus } from "@fortawesome/free-solid-svg-icons"
|
||||
import { faAt, faMapPin, faPlus } from "@fortawesome/free-solid-svg-icons"
|
||||
import Style from "./BoxConditionMap.module.css"
|
||||
import ButtonIconOnly from "../base/ButtonIconOnly"
|
||||
import { MapContainer, TileLayer } from "react-leaflet"
|
||||
|
@ -100,7 +100,13 @@ export default function BoxConditionMap({ ...props }) {
|
|||
return (
|
||||
<BoxFull
|
||||
header={
|
||||
<span>{Localization.searchBy}<FontAwesomeIcon icon={faMapPin}/> {Localization.byZone}</span>
|
||||
<span>
|
||||
{Localization.searchBy}
|
||||
|
||||
<FontAwesomeIcon icon={faMapPin}/>
|
||||
|
||||
{Localization.byZone}
|
||||
</span>
|
||||
}
|
||||
childrenClassName={Style.BoxConditionMapContents}
|
||||
{...props}
|
||||
|
|
|
@ -41,7 +41,18 @@ export default function BoxConditionUser({ ...props }) {
|
|||
}
|
||||
|
||||
return (
|
||||
<BoxFull header={<span>{Localization.searchBy}<FontAwesomeIcon icon={faAt}/> {Localization.byUser}</span>} {...props}>
|
||||
<BoxFull
|
||||
header={
|
||||
<span>
|
||||
{Localization.searchBy}
|
||||
|
||||
<FontAwesomeIcon icon={faAt}/>
|
||||
|
||||
{Localization.byUser}
|
||||
</span>
|
||||
}
|
||||
{...props}
|
||||
>
|
||||
<FormInline onSubmit={onButtonClick}>
|
||||
<InputWithIcon
|
||||
className={Style.Input}
|
||||
|
|
Loading…
Reference in a new issue