Browse Source

fix some UI glitches

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
4a05c5a49f
  1. 11
      app/assets/stylesheets/pages/domains.css.scss
  2. 1
      app/models/txt.rb

11
app/assets/stylesheets/pages/domains.css.scss

@ -1,5 +1,12 @@
#as_domains-active-scaffold .name-column, #as_domains-active-scaffold,
#as_hosts-active-scaffold .name-column { #as_hosts-active-scaffold {
.name-column {
font-weight: bold; font-weight: bold;
text-shadow: none; text-shadow: none;
}
.content-column {
max-width: 200px;
overflow: auto;
}
} }

1
app/models/txt.rb

@ -12,6 +12,7 @@ class TXT < Record
validates :name, :hostname => {:allow_underscore => true, :allow_wildcard_hostname => true} validates :name, :hostname => {:allow_underscore => true, :allow_wildcard_hostname => true}
validates :content, :presence => true, :length => { :maximum => 255 } validates :content, :presence => true, :length => { :maximum => 255 }
def to_label; type end
end end
Txt = TXT Txt = TXT

Loading…
Cancel
Save