aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorreal-zephex <[email protected]>2024-03-25 17:29:59 +0530
committerreal-zephex <[email protected]>2024-03-25 17:29:59 +0530
commitc3773de4c1e59f9f68003d3b2da85d370f4e5062 (patch)
tree8943c5d66a16bc6fe933847184d676511d9806f6
parentremoved optimization from manga pages as it quickly runs out of optimization ... (diff)
downloaddramalama-c3773de4c1e59f9f68003d3b2da85d370f4e5062.tar.xz
dramalama-c3773de4c1e59f9f68003d3b2da85d370f4e5062.zip
fix: small css fix
-rw-r--r--src/app/manga/[title]/[id]/info.module.css1
-rw-r--r--src/app/manga/[title]/[id]/page.jsx9
2 files changed, 9 insertions, 1 deletions
diff --git a/src/app/manga/[title]/[id]/info.module.css b/src/app/manga/[title]/[id]/info.module.css
index 99ea636..638cfd1 100644
--- a/src/app/manga/[title]/[id]/info.module.css
+++ b/src/app/manga/[title]/[id]/info.module.css
@@ -20,6 +20,7 @@
justify-content: space-between;
align-items: center;
margin-top: 10px;
+ /* background-color: #3a3a3ac2; */
}
.TitleContainer p {
diff --git a/src/app/manga/[title]/[id]/page.jsx b/src/app/manga/[title]/[id]/page.jsx
index b41f719..1b9b631 100644
--- a/src/app/manga/[title]/[id]/page.jsx
+++ b/src/app/manga/[title]/[id]/page.jsx
@@ -20,7 +20,14 @@ export default async function MangaInfo({ params }) {
priority
/>
<div className={styles.TitleContainer}>
- <p style={{ color: data.color }}>
+ <p
+ style={{
+ color: data.color,
+ backgroundColor: "#3a3a3ac2",
+ borderRadius: 10,
+ padding: 5,
+ }}
+ >
{data.title["romaji"]}
</p>
<Image