Replace styled-components with bulma helpers (#1783)

Use Bulma helpers whenever possible instead of custom styled components.
This pull request replaces primarily color definitions, spacing and flex instructions.
This commit is contained in:
Florian Scholdei
2021-09-15 17:40:08 +02:00
committed by GitHub
parent 8a65660278
commit 2cb006d040
97 changed files with 1931 additions and 2244 deletions

View File

@@ -60,9 +60,9 @@ const OverviewPageActions: FC<Props> = ({
const link = createAbsoluteLink(inputLink);
const groupSelector = groups && (
<div className={"column is-flex"}>
<div className="column is-flex">
<Select
className={"is-fullwidth"}
className="is-fullwidth"
options={groups.map((g) => ({ value: g, label: g }))}
value={currentGroup}
onChange={groupSelected}
@@ -89,9 +89,9 @@ const OverviewPageActions: FC<Props> = ({
};
return (
<div className={"columns is-tablet"}>
<div className="columns is-tablet">
{groupSelector}
<div className={"column"}>
<div className="column">
<FilterInput
placeholder={searchPlaceholder}
value={urls.getQueryStringFromLocation(location)}