Skip to content

Commit

Permalink
SurveyResponse: fix number of cols in map view
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannaPeanut committed Jan 8, 2025
1 parent 41f3b4e commit a96882c
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,15 @@ export function EditableSurveyResponseForm({
</div>
{/* TAGS */}
<div className="flex flex-col items-start gap-4">
<form>
<form className="">
<FormElementWrapper label={labels.topics?.pl || defaultBackendConfig.labels.topics.pl}>
<div className="grid grid-cols-2 gap-1.5 md:grid-cols-3 lg:grid-cols-4">
<div
// todo container query?
className={clsx(
showMap && "md:grid-cols-3 lg:grid-cols-4",
"grid grid-cols-2 gap-1.5",
)}
>
{topicsOptions.map((item) => (
<LabeledInputRadioCheckbox
type="checkbox"
Expand Down

0 comments on commit a96882c

Please sign in to comment.