Skip to content

Commit

Permalink
Oprava analyzy vlastnych domen a velkosti pisma
Browse files Browse the repository at this point in the history
  • Loading branch information
martinliptak committed Oct 10, 2011
1 parent 398dee2 commit a4f9515
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
12 changes: 8 additions & 4 deletions app/assets/stylesheets/application.css.scss
Expand Up @@ -11,7 +11,8 @@ $fore: #3d3d3d;
$fore_bold: #323232;

body {
font-family: verdana;
font-family: Verdana;
font-size: 15px;
color: $fore;

#page {
Expand All @@ -22,7 +23,7 @@ body {
padding: 10px 25px;
background: $back;
color: $fore;
height: 75px;
height: 90px;

#logo {
text-decoration: none;
Expand Down Expand Up @@ -53,6 +54,9 @@ body {

background: $back;
color: $fore;

float: none;
clear: both;

#analyze {
float: right;
Expand All @@ -79,7 +83,7 @@ body {
float: left;
display: block;
margin-top: 10px;
padding: 10px 15px 0 15px;
padding: 10px 10px 0 10px;
height: 30px;

a {
Expand Down Expand Up @@ -157,4 +161,4 @@ body {
h1, h2, h3 {
color: $fore;
}
}
}
3 changes: 0 additions & 3 deletions app/assets/stylesheets/lists.css.scss

This file was deleted.

2 changes: 1 addition & 1 deletion app/controllers/domains_controller.rb
Expand Up @@ -199,7 +199,7 @@ def analyze
domain = Domain.find_by_name(name)
unless domain
if domain_name_valid?(decode_domain_name(name))
domain = Domain.create_from_list('custom', name)
domain = Domain.create(:name => name)
else
raise 'Invalid domain name'
end
Expand Down

0 comments on commit a4f9515

Please sign in to comment.