-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix creator profile margin * fix projects section margin Closes #1005 Signed-off-by: Ndibe Raymond Olisaemeka <rolisaemeka-ctr@wikimedia.org>
- Loading branch information
Ndibe Raymond Olisaemeka
committed
May 19, 2024
1 parent
344539a
commit b179fc2
Showing
8 changed files
with
2,962 additions
and
9,129 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
85 changes: 43 additions & 42 deletions
85
...ontend/zubhub/src/assets/js/styles/components/projects_drafts/projectsDraftsGridStyles.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,43 @@ | ||
const styles = theme => ({ | ||
titleStyle: { | ||
fontWeight: 900, | ||
fontSize: '1.5rem', | ||
padding: '1em', | ||
}, | ||
|
||
profileLowerStyle: { | ||
// margin: '1em', | ||
[theme.breakpoints.down('740')]: { | ||
margin: '1em', | ||
}, | ||
borderRadius: 8, overflow: 'hidden' | ||
}, | ||
|
||
viewAllBtn: { | ||
marginLeft: '2em', | ||
}, | ||
|
||
gridStyle: { | ||
// marginBottom: '2em', | ||
}, | ||
|
||
tabStyle: { | ||
'&.Mui-selected': { | ||
color: 'var(--primary-color3)', | ||
fontWeight: 'bold', | ||
backgroundColor: '#ffffff', | ||
}, | ||
|
||
backgroundColor: 'var(--text-color3)', | ||
width: '50%', | ||
maxWidth: '50%', | ||
}, | ||
|
||
indicator: { | ||
backgroundColor: "var(--primary-color3)", | ||
height: '5px', | ||
} | ||
}); | ||
|
||
export default styles; | ||
const styles = () => ({ | ||
titleStyle: { | ||
fontWeight: 900, | ||
fontSize: '1.5rem', | ||
padding: '1em', | ||
}, | ||
|
||
profileLowerStyle: { | ||
// margin: '1em', | ||
// [theme.breakpoints.down('740')]: { | ||
// margin: '1em', | ||
// }, | ||
borderRadius: 8, | ||
overflow: 'hidden', | ||
}, | ||
|
||
viewAllBtn: { | ||
marginLeft: '2em', | ||
}, | ||
|
||
gridStyle: { | ||
// marginBottom: '2em', | ||
}, | ||
|
||
tabStyle: { | ||
'&.Mui-selected': { | ||
color: 'var(--primary-color3)', | ||
fontWeight: 'bold', | ||
backgroundColor: '#ffffff', | ||
}, | ||
|
||
backgroundColor: 'var(--text-color3)', | ||
width: '50%', | ||
maxWidth: '50%', | ||
}, | ||
|
||
indicator: { | ||
backgroundColor: 'var(--primary-color3)', | ||
height: '5px', | ||
}, | ||
}); | ||
|
||
export default styles; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.