unify short description styling (#4548)

apply same style class to the About description on both the landing page
and the about/more page
This commit is contained in:
TheInventrix
2017-08-07 17:50:15 -06:00
committed by Eugen Rochko
parent 1b5d26735e
commit c9fd6f386c
3 changed files with 8 additions and 7 deletions

View File

@ -35,9 +35,10 @@
%i.fa.fa-external-link{ style: 'padding-left: 5px;' }
.container.hero
.heading
%h3= t('about.description_headline', domain: site_hostname)
%p= @instance_presenter.site_description.html_safe.presence || t('about.generic_description', domain: site_hostname)
.about-short
.heading
%h3= t('about.description_headline', domain: site_hostname)
%p= @instance_presenter.site_description.html_safe.presence || t('about.generic_description', domain: site_hostname)
.information-board
.container
@ -64,4 +65,4 @@
.container
%p
= link_to t('about.source_code'), 'https://github.com/tootsuite/mastodon'
= " (#{@instance_presenter.version_number})"
= " (#{@instance_presenter.version_number})"