Set the label modal width to be consistent

This commit is contained in:
Jackson Harper
2022-04-11 15:24:19 -07:00
parent f0a725b7ef
commit 58d6e508bb
2 changed files with 1 additions and 2 deletions

View File

@ -41,7 +41,7 @@ type ActionDropdownProps = {
const ActionDropdown = (props: ActionDropdownProps): JSX.Element => {
return <Dropdown
showArrow={true}
css={{ m: '0px', p: '0px', overflow: 'hidden', maxWidth: '265px' }}
css={{ m: '0px', p: '0px', overflow: 'hidden', width: '265px', maxWidth: '265px' }}
side={props.layout == 'vertical' ? 'right' : 'bottom'}
sideOffset={props.layout == 'vertical' ? 8 : 0}
align={props.layout == 'vertical' ? 'start' : 'center'}

View File

@ -297,7 +297,6 @@ export function EditLabelsControl(props: EditLabelsControlProps): JSX.Element {
css={{
p: '0',
maxHeight: '92%',
maxWidth: '265px',
'@mdDown': {
maxWidth: '100%',
maxHeight: '92%',