1
0

move of context menu to top of thumb

This commit is contained in:
Fredrik Erlandsson 2012-01-10 14:12:15 +01:00
parent 0188d2296f
commit 063ad6fb7f
2 changed files with 3 additions and 2 deletions

View File

@ -753,14 +753,14 @@ form .g-error {
.g-context-menu { .g-context-menu {
background-color: #fff; background-color: #fff;
bottom: 0; top: 0;
left: 0; left: 0;
position: absolute; position: absolute;
} }
.g-item .g-context-menu { .g-item .g-context-menu {
display: none; display: none;
margin-top: 2em; margin-top: 0em;
width: 100%; width: 100%;
} }

View File

@ -41,6 +41,7 @@ $(document).ready(function() {
var iconClass = $(this).parent().attr("class").match(/ui-icon-.[^\s]+/).toString(); var iconClass = $(this).parent().attr("class").match(/ui-icon-.[^\s]+/).toString();
$(this).addClass(iconClass); $(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 // Remove titles for menu options since we're displaying that text anyway