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