Skip to content

Commit 03b4fd4

Browse files
authored
fix(client): align text in chapter button to the left when multi-line (freeCodeCamp#61973)
1 parent 793f81b commit 03b4fd4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

client/src/templates/Introduction/components/super-block-accordion.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
.super-block-accordion .chapter-button .chapter-button-left {
3636
display: flex;
3737
align-items: center;
38+
text-align: start;
3839
column-gap: 10px;
3940
font-size: 1.5em;
4041
}
@@ -74,6 +75,14 @@
7475
gap: 10px;
7576
}
7677

78+
.super-block-accordion .module-button-left {
79+
text-align: start;
80+
}
81+
82+
.super-block-accordion .module-button-right {
83+
text-align: end;
84+
}
85+
7786
.super-block-accordion .module-steps {
7887
font-size: 0.75em;
7988
}

0 commit comments

Comments
 (0)