Skip to content

Commit e464dc4

Browse files
authored
Center-sligned featured stats (#3246)
1 parent d6ae91c commit e464dc4

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/static/css/index.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ p {
162162
}
163163

164164
.featured-chapter-content-data {
165-
display: flex;
165+
display: grid;
166+
grid-template-columns: 1fr 1fr 1fr;
166167
width: 100%;
167168
justify-content: space-between;
168169
text-align: center;
@@ -564,7 +565,6 @@ p {
564565
/* Featured Chapter */
565566
.featured-chapter,
566567
.featured-chapter-content-data {
567-
flex-direction: column;
568568
align-items: center;
569569
}
570570

@@ -583,6 +583,10 @@ p {
583583
width: auto;
584584
}
585585

586+
.featured-chapter-content-data {
587+
grid-template-columns: 1fr;
588+
}
589+
586590
.featured-chapter-content-data-item {
587591
margin: 10px;
588592
}

0 commit comments

Comments
 (0)