mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-15 16:04:01 +00:00
Fix CSS problems
This commit is contained in:
parent
3de67a1f15
commit
003838b8f1
@ -3881,7 +3881,7 @@ img.thumbnail {
|
||||
margin:0;
|
||||
}
|
||||
.grid-item-op {
|
||||
position:relative;
|
||||
position:fixed;
|
||||
}
|
||||
#dir-view .grid-item {
|
||||
padding:10px 20px; /* use less padding */
|
||||
|
@ -42,7 +42,7 @@
|
||||
<script type="text/template" id="dirent-rename-dialog-template">
|
||||
<form id="rename-form" class="dirent-rename-dialog" action="" method="post">
|
||||
<h3><%= form_title %></h3>
|
||||
<input type="text" name="newname" value="<%- dirent_name %>" class="input vam" maxlength="{{max_file_name}}" />
|
||||
<input type="text" name="newname" value="<%- dirent_name %>" class="input vam" maxlength="{{max_file_name}}" /><br />
|
||||
<p class="error hide"></p>
|
||||
<button type="submit" class="submit">{% trans "Submit" %}</button>
|
||||
<button class="simplemodal-close">{% trans "Cancel" %}</button>
|
||||
|
@ -121,8 +121,8 @@ define([
|
||||
});
|
||||
this.$el.append(op);
|
||||
this.$('.grid-item-op').css({
|
||||
'left': '100px',
|
||||
'top': '100px',
|
||||
'left': event.pageX,
|
||||
'top': event.pageY,
|
||||
});
|
||||
|
||||
// Using _.bind(function, object) to make that whenever the function is
|
||||
|
Loading…
Reference in New Issue
Block a user