summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorrohan09-raj <rajrohan1914@gmail.com>2022-08-26 02:04:49 +0530
committerrohan09-raj <rajrohan1914@gmail.com>2022-08-26 02:04:56 +0530
commit951b6dbaf9d3da78c056cafbde17167887f73594 (patch)
tree1379c3252a2c4636756195ffcb59723243acdfe6 /client
parent3e354484fb63ac5752cab3415b909a7ed9f0ede4 (diff)
admin UI fixes
Diffstat (limited to 'client')
-rw-r--r--client/src/components/Card/Card.jsx2
-rw-r--r--client/src/components/Card/Card.module.css6
2 files changed, 4 insertions, 4 deletions
diff --git a/client/src/components/Card/Card.jsx b/client/src/components/Card/Card.jsx
index 89b89b3..d0210f8 100644
--- a/client/src/components/Card/Card.jsx
+++ b/client/src/components/Card/Card.jsx
@@ -4,7 +4,7 @@ import styles from './Card.module.css'
const Card = ({ title, image, onClick }) => {
return (
<div onClick={onClick} className={styles.card}>
- <img className={styles.card__image} src={image} alt="" height="300px" />
+ <img className={styles.card__image} src={image} alt="" height="250px" />
<h2 className={styles.card__title}>{title}</h2>
</div>
)
diff --git a/client/src/components/Card/Card.module.css b/client/src/components/Card/Card.module.css
index 54dd471..d34a159 100644
--- a/client/src/components/Card/Card.module.css
+++ b/client/src/components/Card/Card.module.css
@@ -1,8 +1,8 @@
@import '../../styles/GlobalVariables.css';
.card {
- height: 500px;
- width: 500px;
+ height: 400px;
+ width: 400px;
display: flex;
flex-direction: column;
justify-content: center;
@@ -13,7 +13,7 @@
transition: 0.2s all;
cursor: pointer;
color: var(--color-black);
- font-size: 2.25rem;
+ font-size: 1.5rem;
text-decoration: none;
}