Changes in Application Role popup.

This commit is contained in:
Kartik Sharma 2025-07-29 15:18:39 +05:30 committed by pramod.mahajan
parent 91fabf929c
commit 4d4037ed71
2 changed files with 77 additions and 75 deletions

View File

@ -141,7 +141,7 @@ const CreateRole = ({ modalType, onClose }) => {
)}
</div>
<div className="col-12 border px-3"
<div className="border rounded px-3"
style={{
maxHeight: "350px", // Adjust this as needed
overflowY: "auto",

View File

@ -200,12 +200,13 @@ const EditMaster = ({ master, onClose }) => {
</div>
<div className="col-12 text-start">
{/* Scrollable Container */}
{/* Scrollable Container with Border */}
<div
className="border rounded p-3" // border applied here
style={{
maxHeight: "350px", // adjust as needed
maxHeight: "350px",
overflowY: "auto",
paddingRight: "10px", // for better scrollbar spacing
paddingRight: "10px", // spacing for scrollbar
}}
>
{masterFeatures.map((feature, featureIndex) => (
@ -281,7 +282,8 @@ const EditMaster = ({ master, onClose }) => {
{errors.permissions && (
<p className="text-danger">{errors.permissions.message}</p>
)}
</div>
</div>
<div className="col-12 text-center">