mirror of
https://github.com/meineerde/holgerjust.de.git
synced 2026-02-21 19:12:05 +00:00
Don't break the .author-meta section below a post on small screens
This commit is contained in:
parent
b371d803af
commit
731ef32e3c
@ -44,15 +44,6 @@
|
||||
%a{href: author_path} more posts
|
||||
by this author.
|
||||
|
||||
- if blog_author.location.present? || blog_author.website.present?
|
||||
.author-meta
|
||||
- if blog_author.location.present?
|
||||
%span.author-location.icon-location= blog_author.location
|
||||
= partial(:profile_links, locals: {author: blog_author.name})
|
||||
- if blog_author.website.present?
|
||||
%span.author-link.icon-link
|
||||
%a{href: blog_author.website}= blog_author.website.sub(%r{^https?://}, '')
|
||||
|
||||
%section.share
|
||||
%h4 Share this post
|
||||
%a.icon-twitter{href: twitter_url, rel: 'nofollow', onclick: "window.open(this.href, 'twitter-share', 'width=550,height=235');return false;"}
|
||||
@ -64,6 +55,14 @@
|
||||
%a.icon-mail{href: mail_url, rel: 'nofollow'}
|
||||
%span.hidden Email
|
||||
|
||||
.author-meta
|
||||
- if blog_author.location.present?
|
||||
%span.author-location.icon-location= blog_author.location
|
||||
= partial(:profile_links, locals: {author: blog_author.name})
|
||||
- if blog_author.website.present?
|
||||
%span.author-link.icon-link
|
||||
%a{href: blog_author.website}= blog_author.website.sub(%r{^https?://}, '')
|
||||
|
||||
%aside.read-next
|
||||
- if prev_article = current_article.previous_article
|
||||
- attributes = { href: prev_article.url }.merge(cover(prev_article))
|
||||
|
||||
@ -48,6 +48,10 @@
|
||||
top: -40px;
|
||||
}
|
||||
|
||||
.author-meta span {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.author-bio {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user