mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-04 19:53:19 +08:00
fixes css for new repository item field field [fixes SCI-2593]
This commit is contained in:
parent
00ed339520
commit
dd00de928c
2 changed files with 17 additions and 1 deletions
|
@ -1070,7 +1070,8 @@ var RepositoryDatatable = (function(global) {
|
|||
|
||||
// Takes object and surrounds it with input
|
||||
function changeToInputFileField(object, name, value) {
|
||||
return "<div class='repository-input-file-field'><div class='form-group'>" +
|
||||
return "<div class='repository-input-file-field new-input-file-field-div'>"+
|
||||
"<div class='form-group'>" +
|
||||
"<input type='file' class='form-control' data-object='" +
|
||||
object + "' name='" + name + "' value='" + value + "'></div>" +
|
||||
"<a onClick='clearFileInput(this)'>" +
|
||||
|
|
|
@ -81,6 +81,21 @@
|
|||
}
|
||||
}
|
||||
|
||||
.new-input-file-field-div {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
.form-group {
|
||||
border: 0 !important;
|
||||
display: inline-block !important;
|
||||
|
||||
}
|
||||
a {
|
||||
display: inline-block !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.repository-dropdown {
|
||||
max-width: 174px;
|
||||
width: 174px;
|
||||
|
|
Loading…
Reference in a new issue