Skip to content

Commit 267c9a1

Browse files
authored
width fixed
1 parent f526915 commit 267c9a1

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/app/[...slug]/page.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default async ({ params }) => {
3838
<Nav />
3939
{/* <link rel="stylesheet" href="https://dev.to/assets/crayons-132fd5353a6887f948f908fecf2c183d4019983fae2c184971fb9deb4e930bfb.css" /> */}
4040
<main>
41-
<div className="shadow1 postcontainer subpixel-antialiased">
41+
<div className="shadow1 postcontainer subpixel-antialiased postcon" >
4242
<img class="glassload shadow2 postheadimage" src={data.cover_image} alt="" srcset="" />
4343
<h2 id="title">{data.title}</h2>
4444
<span class="post-data">

src/app/globals.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@ main {
124124
min-width: 55%;
125125
font-size: 17px;
126126
}
127+
.postcon {
128+
max-width: 59%;
129+
}
127130
blockquote {
128131
background: var(--bbg);
129132
padding: 20px;
@@ -404,7 +407,7 @@ footer {
404407
}
405408
.postcontainer,
406409
.sidebar {
407-
max-width: 100%;
410+
width: 100%;
408411
margin: 0;
409412
margin-top: 20px;
410413
margin: 10px;

src/app/page.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export default function ArticlesPage() {
8383
</div>
8484
<div class="post">
8585
<div class="usercard">
86-
<img src="http://github.com/sh20raj.png" alt="" />
86+
<img src="http://github.com/the-shade-project.png" alt="" />
8787
<div class="username">
8888
<a href="http://github.com/sh20raj">
8989
<span class="tomato">@</span>SH20RAJ

0 commit comments

Comments
 (0)