diff --git a/public/app/core/components/PermissionList/AddPermission.tsx b/public/app/core/components/PermissionList/AddPermission.tsx index 71cc937ddfa..d6da7c68544 100644 --- a/public/app/core/components/PermissionList/AddPermission.tsx +++ b/public/app/core/components/PermissionList/AddPermission.tsx @@ -84,7 +84,7 @@ class AddPermissions extends Component { render() { const { onCancel } = this.props; const newItem = this.state; - const pickerClassName = 'width-20'; + const pickerClassName = 'min-width-20'; const isValid = this.isValid(); return (
diff --git a/public/app/features/teams/TeamMembers.tsx b/public/app/features/teams/TeamMembers.tsx index f43dc44808f..433702fa0d5 100644 --- a/public/app/features/teams/TeamMembers.tsx +++ b/public/app/features/teams/TeamMembers.tsx @@ -115,7 +115,7 @@ export class TeamMembers extends PureComponent {
Add Team Member
- + {this.state.newTeamMember && (
@@ -152,7 +152,7 @@ exports[`Render should render team members 1`] = ` className="gf-form-inline" >
@@ -372,7 +372,7 @@ exports[`Render should render team members when sync enabled 1`] = ` className="gf-form-inline" > diff --git a/public/sass/utils/_widths.scss b/public/sass/utils/_widths.scss index 2000982f08d..b1213e6ea60 100644 --- a/public/sass/utils/_widths.scss +++ b/public/sass/utils/_widths.scss @@ -19,6 +19,12 @@ } } +@for $i from 1 through 30 { + .min-width-#{$i} { + min-width: ($spacer * $i) - $gf-form-margin !important; + } +} + @for $i from 1 through 30 { .offset-width-#{$i} { margin-left: ($spacer * $i) !important;