fix: fix alignment in the streak celebration modal

This commit is contained in:
ihor-romaniuk
2022-09-12 18:24:39 +03:00
committed by leangseu-edx
parent cf3b3a27bc
commit 3b4561e142
2 changed files with 6 additions and 2 deletions

View File

@@ -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>

View File

@@ -26,6 +26,10 @@
.modal-body {
padding-top: .5rem;
font-size: 1.2rem;
.pgn__modal-body-content {
text-align: center;
}
}
.modal-footer {