summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2012-03-22 00:09:53 +0200
committerValery Sizov <vsv2711@gmail.com>2012-03-22 00:09:53 +0200
commit039b6db483fff2aaeaa19a46018232626e6a0eba (patch)
treec51a76bc07efd67f9c83f14724399139080c824c
parentce51525ec7e8b4aafd6f2e967a48b72f65c8c3c3 (diff)
downloadgitlab-ce-039b6db483fff2aaeaa19a46018232626e6a0eba.tar.gz
design improve of form of key
-rw-r--r--app/assets/stylesheets/common.scss6
-rw-r--r--app/views/keys/_form.html.haml2
2 files changed, 6 insertions, 2 deletions
diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss
index ddf74db554d..723f85010c4 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 cdabdc739d6..c25e8d073b8 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"