More updates #26 #51 #11

This commit is contained in:
prayag17 committed 2023-04-19 21:58:59 +05:30
1 parent ac565b65fe
commit 0035488770
20 files changed
+389 -148

No files matched your search

+9 -1
View File
@@ -21,6 +21,7 @@ export const CardScroller = ({
displayCards,
title,
headingProps,
disableDecoration = false,
}) => {
const responsive = {
superLargeDesktop: {
@@ -50,7 +51,14 @@ export const CardScroller = ({
return (
<Box className="card-scroller-container" sx={{ mb: 4 }}>
<Box sx={{ mb: 2 }} className="card-scroller-header-container">
<Box
sx={{ mb: 2 }}
className={
disableDecoration
? `card-scroller-header-container hidden-decoration`
: `card-scroller-header-container`
}
>
<Typography
variant="h4"
color="textPrimary"
@@ -29,3 +29,9 @@
}
}
}
.hidden-decoration {
.card-scroller-heading-decoration {
display: hidden;
}
}