From 039b6db483fff2aaeaa19a46018232626e6a0eba Mon Sep 17 00:00:00 2001 From: Valery Sizov Date: Thu, 22 Mar 2012 00:09:53 +0200 Subject: [PATCH] design improve of form of key --- app/assets/stylesheets/common.scss | 6 +++++- app/views/keys/_form.html.haml | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index ddf74db5..723f8501 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -1003,4 +1003,8 @@ p.time { color: #999; line-height: 16px; font-weight:bold; -} +} + +.thin_area{ + height: 150px; +} diff --git a/app/views/keys/_form.html.haml b/app/views/keys/_form.html.haml index cdabdc73..c25e8d07 100644 --- a/app/views/keys/_form.html.haml +++ b/app/views/keys/_form.html.haml @@ -11,7 +11,7 @@ .input= f.text_field :title .clearfix = f.label :key - .input= f.text_area :key, :class => "xlarge" + .input= f.text_area :key, :class => [:xxlarge, :thin_area] .actions = f.submit 'Save', :class => "primary btn" = link_to "Cancel", keys_path, :class => "btn"