mirror of
https://github.com/pds-nest/nest.git
synced 2025-02-16 12:43:58 +00:00
🔧 Improve spacing
This commit is contained in:
parent
5e3e62347e
commit
2b2280e2d4
5 changed files with 55 additions and 16 deletions
|
@ -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.",
|
||||
|
@ -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.",
|
||||
|
@ -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",
|
||||
|
|
|
@ -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…
Add table
Reference in a new issue