From 739265ee6a0003eeb49063a9ffcf168735ed4244 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Fri, 10 Feb 2023 09:08:39 -0800 Subject: [PATCH] Improve display of job lines preset display. --- .../job-lines-preset-button.component.jsx | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/client/src/components/job-lines-preset-button/job-lines-preset-button.component.jsx b/client/src/components/job-lines-preset-button/job-lines-preset-button.component.jsx index 60272786b..f805ece5a 100644 --- a/client/src/components/job-lines-preset-button/job-lines-preset-button.component.jsx +++ b/client/src/components/job-lines-preset-button/job-lines-preset-button.component.jsx @@ -22,9 +22,20 @@ export function JoblinePresetButton({ bodyshop, form }) { }; const menu = ( - + {bodyshop.md_jobline_presets.map((i, idx) => ( - handleSelect(i)} key={idx}> + handleSelect(i)} + key={idx} + style={{ breakInside: "avoid" }} + > {i.label} ))}