diff options
author | TheInventrix <TheInventrix@users.noreply.github.com> | 2017-08-07 17:50:15 -0600 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-08-08 01:50:15 +0200 |
commit | c9fd6f386c5ae0938f1f9c2d1134508e66231e23 (patch) | |
tree | 3d880ce8e4b487e0cba8eb964e64bad971b5c0e1 /app/views/about | |
parent | 1b5d26735e46719eba4dac4b79719460d7bbba63 (diff) |
unify short description styling (#4548)
apply same style class to the About description on both the landing page and the about/more page
Diffstat (limited to 'app/views/about')
-rw-r--r-- | app/views/about/more.html.haml | 9 | ||||
-rw-r--r-- | app/views/about/show.html.haml | 4 |
2 files changed, 7 insertions, 6 deletions
diff --git a/app/views/about/more.html.haml b/app/views/about/more.html.haml index 6342c7248..189b3bf1e 100644 --- a/app/views/about/more.html.haml +++ b/app/views/about/more.html.haml @@ -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})" \ No newline at end of file diff --git a/app/views/about/show.html.haml b/app/views/about/show.html.haml index d0c9a6650..acdb12ad7 100644 --- a/app/views/about/show.html.haml +++ b/app/views/about/show.html.haml @@ -58,7 +58,7 @@ = @instance_presenter.closed_registrations_message.html_safe = link_to t('about.find_another_instance'), 'https://joinmastodon.org/', class: 'button button-alternative button--block' - .learn-more-cta + .about-short .container %h3= t('about.description_headline', domain: site_hostname) %p= @instance_presenter.site_description.html_safe.presence || t('about.generic_description', domain: site_hostname) @@ -77,4 +77,4 @@ .container %p = link_to t('about.source_code'), 'https://github.com/tootsuite/mastodon' - = " (#{@instance_presenter.version_number})" + = " (#{@instance_presenter.version_number})" \ No newline at end of file |