Fixes bug in Neuigkeiten mobile view, see picture

If display width forced header (Rubrik / User+Date) to display in two lines
whole content of Neuigkeit was squeezed to the width of the whitespace left
to the lower line
This commit is contained in:
Bernhard Stampfer
2015-01-27 17:26:55 +01:00
parent a196b56669
commit cdcbce6803

View File

@@ -23,6 +23,7 @@ end
<div class="content-column content-wrap"> <div class="content-column content-wrap">
<p id="notice"><%= notice %></p> <p id="notice"><%= notice %></p>
<div class="contentbox"> <div class="contentbox">
<div class="row-fluid">
<span> <span>
<%= ff_icon(@neuigkeit.rubrik.icon) unless @neuigkeit.rubrik.icon.nil? or @neuigkeit.rubrik.icon.empty? %>&nbsp;<%= @neuigkeit.rubrik.name %> <%= ff_icon(@neuigkeit.rubrik.icon) unless @neuigkeit.rubrik.icon.nil? or @neuigkeit.rubrik.icon.empty? %>&nbsp;<%= @neuigkeit.rubrik.name %>
</span> </span>
@@ -30,6 +31,7 @@ end
<%= @neuigkeit.author.email.to_s unless @neuigkeit.try(:author).try(:email).to_s %> <%= @neuigkeit.author.email.to_s unless @neuigkeit.try(:author).try(:email).to_s %>
<%= @neuigkeit.author.text+ " "+ I18n.t("neuigkeit.am")+" " + I18n.l(@neuigkeit.try(:datum).try(:to_date)) unless @neuigkeit.try(:datum).try(:to_date).nil? %> <%= @neuigkeit.author.text+ " "+ I18n.t("neuigkeit.am")+" " + I18n.l(@neuigkeit.try(:datum).try(:to_date)) unless @neuigkeit.try(:datum).try(:to_date).nil? %>
</span> </span>
</div>
<div class="media"> <div class="media">
<% unless @neuigkeit.picture.big_thumb.to_s.empty? %> <% unless @neuigkeit.picture.big_thumb.to_s.empty? %>
<div class="pull-left" href="#"> <div class="pull-left" href="#">