diff --git a/scm-ui/ui-components/src/OverviewPageActions.tsx b/scm-ui/ui-components/src/OverviewPageActions.tsx index 86d7ac173b..4cbffb32ef 100644 --- a/scm-ui/ui-components/src/OverviewPageActions.tsx +++ b/scm-ui/ui-components/src/OverviewPageActions.tsx @@ -43,6 +43,7 @@ class OverviewPageActions extends React.Component { const groupSelector = groups && (
@@ -44353,6 +44355,7 @@ exports[`Storyshots Forms|DropDown Default 1`] = ` className="select" > diff --git a/scm-ui/ui-components/src/forms/DropDown.tsx b/scm-ui/ui-components/src/forms/DropDown.tsx index c141b35cd5..e801a0c2a8 100644 --- a/scm-ui/ui-components/src/forms/DropDown.tsx +++ b/scm-ui/ui-components/src/forms/DropDown.tsx @@ -23,6 +23,7 @@ */ import React, { ChangeEvent } from "react"; import classNames from "classnames"; +import styled from "styled-components"; type Props = { options: string[]; @@ -33,6 +34,10 @@ type Props = { disabled?: boolean; }; +const FullWidthSelect = styled.select` + width: 100%; +`; + class DropDown extends React.Component { render() { const { options, optionValues, preselectedOption, className, disabled } = this.props; @@ -43,7 +48,7 @@ class DropDown extends React.Component { return (
- +
); }