diff --git a/rhodecode/public/css/buttons.less b/rhodecode/public/css/buttons.less --- a/rhodecode/public/css/buttons.less +++ b/rhodecode/public/css/buttons.less @@ -264,16 +264,15 @@ input[type="button"] { .btn-action-switcher-container{ position: absolute; - top: 30px; - left: -82px; + top: 100%; + right: 0; } .btn-action-switcher { display: block; position: relative; z-index: 300; - min-width: 240px; - max-width: 500px; + max-width: 600px; margin-top: 4px; margin-bottom: 24px; font-size: 14px; @@ -283,6 +282,7 @@ input[type="button"] { border: 1px solid @grey4; border-radius: 3px; box-shadow: @dropdown-shadow; + overflow: auto; li { display: block; diff --git a/rhodecode/templates/files/files_browser.mako b/rhodecode/templates/files/files_browser.mako --- a/rhodecode/templates/files/files_browser.mako +++ b/rhodecode/templates/files/files_browser.mako @@ -17,14 +17,30 @@ % if h.HasRepoPermissionAny('repository.write','repository.admin')(c.repo_name): -
- - ${_('Upload File')} - - - ${_('Add File')} - -
+ +
+
+ + ${_('Add File')} + + + + + + + +
+
+ % endif % if c.enable_downloads: diff --git a/rhodecode/templates/files/files_upload.mako b/rhodecode/templates/files/files_upload.mako --- a/rhodecode/templates/files/files_upload.mako +++ b/rhodecode/templates/files/files_upload.mako @@ -61,11 +61,11 @@ ##${h.secure_form(form_url, id='eform', enctype="multipart/form-data", request=request)}
-