Skip to content

Commit 27273db

Browse files
authored
Merge pull request #1370 from Arnei/acl-role-dropdown-width-17
Fix ACL role dropdown width
2 parents f35cc2d + f5f5c36 commit 27273db

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/components/events/partials/ModalTabsAndPages/NewAccessPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ const NewAccessPage = <T extends RequiredFormProps>({
269269
}
270270
skipTranslate
271271
optionHeight={35}
272-
customCSS={{ width: 360, optionPaddingTop: 5 }}
272+
customCSS={{ width: "100%", optionPaddingTop: 5 }}
273273
/>
274274
</td>
275275
{/* Checkboxes for policy.read and policy.write*/}

src/components/shared/modals/ResourceDetailsAccessPolicyTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ const ResourceDetailsAccessPolicyTab = ({
497497
}
498498
skipTranslate
499499
optionHeight={35}
500-
customCSS={{ width: 360, optionPaddingTop: 5 }}
500+
customCSS={{ width: "100%", optionPaddingTop: 5 }}
501501
/>
502502
) : (
503503
<p>{policy.role}</p>

src/components/users/partials/wizard/AclAccessPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ const AclAccessPage = <T extends RequiredFormProps>({
229229
disabled={!isAccess}
230230
skipTranslate
231231
optionHeight={35}
232-
customCSS={{ width: 360, optionPaddingTop: 5 }}
232+
customCSS={{ width: "100%", optionPaddingTop: 5 }}
233233
/>
234234
</td>
235235
<td className="fit text-center">

0 commit comments

Comments
 (0)