From 0d763b0a3fe49beffc0da9bd212598109c2edbfc Mon Sep 17 00:00:00 2001 From: Artem Rys Date: Tue, 28 Nov 2023 17:51:18 +0100 Subject: [PATCH 1/2] chore: update from poetry dev-dependencies to group.dev (#961) This is a technical change to make sure we use latest poetry syntax to specify dev dependencies. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f1ec03ec4..910be9206 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,7 +50,7 @@ defusedxml = "^0.7.1" requests = "^2.31.0" urllib3 = "<2" -[tool.poetry.dev-dependencies] +[tool.poetry.group.dev.dependencies] mkdocs = "^1.4.2" importlib-metadata = {version="*", python="<3.8"} pytest = "^7.2.1" From 0213c457154cfbe56014ed358c13afa23e184049 Mon Sep 17 00:00:00 2001 From: soleksy-splunk <143183665+soleksy-splunk@users.noreply.github.com> Date: Wed, 6 Dec 2023 12:34:01 +0100 Subject: [PATCH 2/2] fix: add control group wrapper max width to 750px (#966) fixing issue of too small width of component group ![image (1)](https://github.com/splunk/addonfactory-ucc-generator/assets/143183665/1f4210d3-b20c-4114-a698-d14d4f519d35) setting control group max width to 100%, so component can be as long as parent element, along with limiting help message width to 320px (standard width of component) ![Screenshot 2023-12-05 at 18 00 02](https://github.com/splunk/addonfactory-ucc-generator/assets/143183665/d6acaa41-f6cc-4920-9b87-44913ab8c39b) --- ui/src/components/ControlWrapper.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ui/src/components/ControlWrapper.tsx b/ui/src/components/ControlWrapper.tsx index 339e46156..46259be5d 100644 --- a/ui/src/components/ControlWrapper.tsx +++ b/ui/src/components/ControlWrapper.tsx @@ -10,9 +10,17 @@ const CustomElement = styled.div``; const ControlGroupWrapper = styled(ControlGroup).attrs((props: { dataName: string }) => ({ 'data-name': props.dataName, }))` + max-width: 100%; + span[class*='ControlGroupStyles__StyledAsterisk-'] { color: red; } + + > * { + &:nth-child(3) { + width: 320px; + } + } `; interface ControlWrapperProps {