Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Wrap links in h4 #7

Merged
merged 1 commit into from

2 participants

@fadr

Die line-height bei den Links ist zu groß, was nicht so gut ausschaut, wenn der Link einen Umbruch hat. Deswegen line-height von #CONTENT a auf standard und dafür in eine h4 gewickelt, dass er trotzdem nicht zu nahe am Text klebt.

@citizen428 citizen428 merged commit 57a75bb into citizen428:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 13, 2012
  1. wrap links in h4 for better line-height

    Thomas Fadrus authored
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +0 −1  public/css/style.css
  2. +2 −1  views/os.haml
View
1  public/css/style.css
@@ -113,7 +113,6 @@ p {
#CONTENT a {
font-family: 'Inconsolata', 'Lucida Grande', 'Lucida Sans', sans-serif;
font-size: 24px;
- line-height: 2em;
}
body {
View
3  views/os.haml
@@ -1,4 +1,5 @@
- @sites.find({'tags' => @page}).sort([['desc', 1]]).each do |site|
- %a{:href => site['href']}#{site['desc']}
+ %h4
+ %a{:href => site['href']}#{site['desc']}
%p #{site['long_desc']}
%br/
Something went wrong with that request. Please try again.