Skip to content

Commit

Permalink
Style the frequency list.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Rochester committed Nov 15, 2011
1 parent 383999d commit 1a43bf4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions app/assets/stylesheets/freq.css.scss
Expand Up @@ -17,3 +17,19 @@
margin: 3px;
}
}

.freqlist {
dt {
width: 100px;
font-style: bold;
background: #6a94d4;
color: white;
float: left;
padding: 1px;
}
dd {
width: 100px;
margin-left: 125px;
padding: 1px;
}
}
2 changes: 1 addition & 1 deletion app/views/freq/freq.html.erb
@@ -1,6 +1,6 @@
<h1>Token Frequencies</h1>

<dl>
<dl class='freqlist'>
<% @freq_a.each do |token, freq| %>
<dt><%= token %></dt> <dd><%= freq %></dd>
<% end %>
Expand Down

0 comments on commit 1a43bf4

Please sign in to comment.