Skip to content

Commit

Permalink
fix: [RGOeX-25958] fixed spacing in tablet version
Browse files Browse the repository at this point in the history
  • Loading branch information
vladislavkeblysh committed Oct 9, 2023
1 parent 332d6ab commit 5720fd9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions src/base-container/components/default-layout/MediumLayout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ const MediumLayout = () => {
{ 'ml-4.5': getConfig().SITE_NAME !== 'edX' },
)}
>
<span className="mr-2">{formatMessage(messages['start.learning'])}</span>
<span className="text-accent-a d-inline-block">
{formatMessage(messages['with.site.name'], { siteName: getConfig().SITE_NAME })}
<span>
{formatMessage(messages['start.learning'])}{' '}
<span className="text-accent-a d-inline-block">
{formatMessage(messages['with.site.name'], { siteName: getConfig().SITE_NAME })}
</span>
</span>
</h1>
</div>
Expand Down
8 changes: 5 additions & 3 deletions src/base-container/components/default-layout/SmallLayout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ const SmallLayout = () => {
{ 'ml-4.5': getConfig().SITE_NAME !== 'edX' },
)}
>
<span className="mr-1">{formatMessage(messages['start.learning'])}</span>
<span className="text-accent-a d-inline-block">
{formatMessage(messages['with.site.name'], { siteName: getConfig().SITE_NAME })}
<span>
{formatMessage(messages['start.learning'])}
<span className="text-accent-a d-inline-block">{' '}
{formatMessage(messages['with.site.name'], { siteName: getConfig().SITE_NAME })}
</span>
</span>
</h1>
</div>
Expand Down

0 comments on commit 5720fd9

Please sign in to comment.