Skip to content

Commit

Permalink
Fixed padding issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Nahiyan-16 committed Jul 19, 2024
1 parent c45910c commit 2e31e9d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
4 changes: 3 additions & 1 deletion src/components/Badge/NewBadges.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ function NewBadges(props) {

return (
<>
<Card style={{ backgroundColor: props.darkMode ? '#3A506B' : '#f6f6f3' }}>
<Card
style={{ backgroundColor: props.darkMode ? '#3A506B' : '#f6f6f3', padding: '0px 10px' }}
>
<CardBody>
<CardTitle
style={{
Expand Down
1 change: 1 addition & 0 deletions src/components/Badge/OldBadges.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ function OldBadges({ personalBestMaxHrs, badges, darkMode }) {
backgroundColor: darkMode ? '#3A506B' : '#f6f6f3',
marginTop: 20,
marginBottom: 20,
padding: '0px 10px',
}}
>
<CardBody>
Expand Down
20 changes: 10 additions & 10 deletions src/components/WeeklySummary/WeeklySummary.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -825,12 +825,12 @@ export class WeeklySummary extends Component {
</DropdownMenu>
</UncontrolledDropdown>
)}
<CurrentPromptModal
userRole={userRole}
userId={displayUserId}
darkMode={darkMode}
/>
{/* <div style={{ width: '10rem' }}>
<CurrentPromptModal
userRole={userRole}
userId={displayUserId}
darkMode={darkMode}
/>
{/* <div style={{ width: '10rem' }}>
<CurrentPromptModal
userRole={userRole}
userId={displayUserId}
Expand All @@ -854,10 +854,10 @@ export class WeeklySummary extends Component {
errors.summaryBeforeLast ||
errors.summaryThreeWeeksAgo ||
errors.wordCount) && (
<Alert color="danger">
The summary must contain a minimum of 50 words.
</Alert>
)}
<Alert color="danger">
The summary must contain a minimum of 50 words.
</Alert>
)}
</Col>
</Row>
</TabPane>
Expand Down

0 comments on commit 2e31e9d

Please sign in to comment.