From 063ad6fb7fa0dd0550544d0afc64fb3a0af4afb8 Mon Sep 17 00:00:00 2001 From: Fredrik Erlandsson Date: Tue, 10 Jan 2012 14:12:15 +0100 Subject: [PATCH] move of context menu to top of thumb --- css/screen.css | 4 ++-- js/ui.init.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/css/screen.css b/css/screen.css index 6bac8319..f538961c 100644 --- a/css/screen.css +++ b/css/screen.css @@ -753,14 +753,14 @@ form .g-error { .g-context-menu { background-color: #fff; - bottom: 0; + top: 0; left: 0; position: absolute; } .g-item .g-context-menu { display: none; - margin-top: 2em; + margin-top: 0em; width: 100%; } diff --git a/js/ui.init.js b/js/ui.init.js index afbb5f18..c02ea678 100644 --- a/js/ui.init.js +++ b/js/ui.init.js @@ -41,6 +41,7 @@ $(document).ready(function() { var iconClass = $(this).parent().attr("class").match(/ui-icon-.[^\s]+/).toString(); $(this).addClass(iconClass); }); + $("ul.g-context-menu > li a span").addClass("ui-icon-carat-1-s"); } // Remove titles for menu options since we're displaying that text anyway