mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-24 20:00:39 -04:00
fix(client): misaligned quotes on the 404 page (#49744)
Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
This commit is contained in:
@@ -29,17 +29,10 @@
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.quote-wrapper span {
|
||||
font-size: 50px;
|
||||
.quote-wrapper .quote::before {
|
||||
content: open-quote;
|
||||
font-size: 25px;
|
||||
font-weight: 700;
|
||||
color: var(--tertiary-color);
|
||||
font-style: normal;
|
||||
padding-inline-start: 15px;
|
||||
padding-top: 5px;
|
||||
position: absolute;
|
||||
border-radius: 0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.quote-wrapper .author {
|
||||
|
||||
@@ -23,10 +23,7 @@ const FourOhFour = (): JSX.Element => {
|
||||
<p>{t('404.heres-a-quote')}</p>
|
||||
<Spacer paddingSize={15} />
|
||||
<blockquote className='quote-wrapper'>
|
||||
<p className='quote'>
|
||||
<span>“</span>
|
||||
{quote.quote}
|
||||
</p>
|
||||
<p className='quote'>{quote.quote}</p>
|
||||
<p className='author'>- {quote.author}</p>
|
||||
</blockquote>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user