File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 3030
3131 margin-bottom : 42px ;
3232
33+ .description {
34+ font-size : 20px ;
35+ color : var (--grey-text-color ) !important ;
36+ }
37+
3338 img {
3439 height : 200px ;
3540 width : 200px ;
6065 display : flex ;
6166 justify-content : end ;
6267 .tag {
68+ font-size : 16px !important ;
6369 color : var (--accent-color ) !important ;
6470 background-color : #2199c9 !important ;
6571 }
100106 }
101107 .articleItem {
102108 flex-direction : column ;
103- height : 400px !important ;
109+ height : max-content !important ;
110+ min-height : 400px !important ;
104111 max-width : 400px ;
105112 min-width : 200px ;
106113 margin : 0 12px ;
107114
115+ .description {
116+ padding-top : 24px ;
117+ padding-bottom : 64px ;
118+ }
119+
108120 img {
109121 width : 100% !important ;
110122 }
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import { useIsMobile } from "~/hooks/useIsMobile";
77type Article = {
88 id : string ,
99 title : string ,
10+ description : string ,
1011 thumbnail : string ,
1112 type : string ,
1213 topics : string [ ] ,
@@ -40,6 +41,7 @@ export default function Blog(): JSX.Element {
4041 < img src = { `https://raw.githubusercontent.com/object-t/object-t-blog/refs/heads/main/thumbnail/${ article . thumbnail } ` } alt = { article . title } className = { styles . thumbnail } />
4142 < div className = { styles . textBox } >
4243 < h2 > { article . title } </ h2 >
44+ < p className = { styles . description } > { article . description } </ p >
4345 < div className = { styles . details } >
4446 < div className = { styles . tagContainer } >
4547 {
You can’t perform that action at this time.
0 commit comments