Skip to content

Commit

Permalink
[BF] - Fix responsive issues in Resource Modal
Browse files Browse the repository at this point in the history
  • Loading branch information
NishalJohn committed Nov 12, 2023
1 parent 1d4a3dd commit a1c8d11
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
21 changes: 11 additions & 10 deletions src/pages/ResourceLibrary/AddResource.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,18 +90,19 @@ export const AddResource = ({ onAddResource }) => {
{/* <Title level={1} style={{ marginBottom: "30px" }}>Add Resource</Title> */}
{/* <div className="form-container"> */}
<Form
labelCol={{
offset: 6,
span: 12,
}}
wrapperCol={{
offset: 6,
span: 12,
}}
// labelCol={{
// offset: 6,
// span: 12,
// }}
// wrapperCol={{
// offset: 6,
// span: 12,
// }}
style={{
minWidth: 800,
maxWidth: 800,
// minWidth: 800,
// maxWidth: 800,
// justifyContent: 'center'
width: '100%'
}}
initialValues={{
accesslevel: 3,
Expand Down
7 changes: 6 additions & 1 deletion src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ h2 {
display: flex;
flex-direction: column;
align-items: center;
position: relative;
}

.carosel-video-wrappers {
Expand Down Expand Up @@ -303,4 +304,8 @@ h2 {
padding-top: 20px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
}
}

.select-container.ant-form-item-control-wrapper {
width: 100%;
}

0 comments on commit a1c8d11

Please sign in to comment.