From 0f441f45f109131daf223e20f9c6457ad2686ddb Mon Sep 17 00:00:00 2001 From: Sergey Linnik Date: Sun, 19 Aug 2012 00:26:27 +0400 Subject: [PATCH] Small css and js fixes 1. remove old javascript produced error 2. add margin to branch/tag select to look this better without js --- app/assets/stylesheets/ref_select.scss | 1 + app/views/refs/_tree.html.haml | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/assets/stylesheets/ref_select.scss b/app/assets/stylesheets/ref_select.scss index 6f6a1bc983d..10157b0a733 100644 --- a/app/assets/stylesheets/ref_select.scss +++ b/app/assets/stylesheets/ref_select.scss @@ -10,6 +10,7 @@ } .project-refs-select { width:120px; + margin-right: 7px; } .project-refs-form .chzn-container { diff --git a/app/views/refs/_tree.html.haml b/app/views/refs/_tree.html.haml index 6f8175da7a0..c231c40735c 100644 --- a/app/views/refs/_tree.html.haml +++ b/app/views/refs/_tree.html.haml @@ -51,8 +51,6 @@ :javascript $(function(){ - $('select#branch').selectmenu({style:'popup', width:200}); - $('select#tag').selectmenu({style:'popup', width:200}); $('.project-refs-select').chosen(); history.pushState({ path: this.path }, '', "#{@history_path}"); -- GitLab