LVA ECTS/Std right-aligned

Uses style="overflow:auto" to keep the Box arround the Modul sized correctly,
even if left and right aligned text uses more than one line.
This seems to hide the bulltes in chromium for some reason (shown in firefox)
This commit is contained in:
Bernhard Stampfer
2015-01-28 09:18:26 +01:00
parent cdcbce6803
commit db0a50acf2

View File

@@ -1,5 +1,8 @@
<div class="lva-semester" style="overflow:auto;">
<div class="lva-semester"> <span>
<%=lva.lvanr.to_s %> <b><%= link_to lva.full_name, lva_path(lva)%></b> <%= lva.ects %> ECTS / <%= lva.stunden %> Std<br> <%=lva.lvanr.to_s %> <b><%= link_to lva.full_name, lva_path(lva)%></b>
</span>
<span style="float:right;">
<%= lva.ects %> ECTS / <%= lva.stunden %> Std
</span>
</div> </div>