Skip to content

Commit f5f5c36

Browse files
committed
Fix ACL role dropdown width
The role dropdown in the ACL tabs could extend over its column width, due to its own fixed width. This fixes that.
1 parent e11a88c commit f5f5c36

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

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)