fix: fix alignment in the streak celebration modal
This commit is contained in:
committed by
leangseu-edx
parent
cf3b3a27bc
commit
3b4561e142
@@ -160,8 +160,8 @@ function StreakModal({
|
||||
</ModalDialog.Title>
|
||||
</ModalDialog.Header>
|
||||
<ModalDialog.Body className="modal-body">
|
||||
<p>{intl.formatMessage(messages.streakBody)}</p>
|
||||
<p className="modal-image">
|
||||
<p className="text-center">{intl.formatMessage(messages.streakBody)}</p>
|
||||
<p className="modal-image text-center">
|
||||
{!wideScreen && <img src={StreakMobileImage} alt="" className="img-fluid" />}
|
||||
{wideScreen && <img src={StreakDesktopImage} alt="" className="img-fluid" />}
|
||||
</p>
|
||||
|
||||
@@ -26,6 +26,10 @@
|
||||
.modal-body {
|
||||
padding-top: .5rem;
|
||||
font-size: 1.2rem;
|
||||
|
||||
.pgn__modal-body-content {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.modal-footer {
|
||||
|
||||
Reference in New Issue
Block a user