N°330 Fix first column not centered when creating attachment on new ticket

This commit is contained in:
Pierre Goiffon
2019-12-18 09:56:27 +01:00
parent 3e57c3b1e9
commit a108be8517
2 changed files with 11 additions and 11 deletions

View File

@@ -3851,7 +3851,14 @@ input:checked + .slider:before {
.pull-left { float: left; }
table.attachmentsList tr>td:nth-child(3) {
text-align: right;
padding-right: 0.5em;
}
table.attachmentsList {
&>tbody{
&>tr>td:first-child {
text-align: center;
}
&>tr>td:nth-child(3) {
text-align: right;
padding-right: 0.5em;
}
}
}

View File

@@ -385,13 +385,6 @@ JS
{
$this->oPage->add_script($this->GetDeleteAttachmentJs());
}
$this->oPage->add_style(
<<<CSS
table.attachmentsList>tbody>tr>td:first-child {
text-align: center;
}
CSS
);
$bIsEven = false;
$aAttachmentsDate = AttachmentsHelper::GetAttachmentsDateAddedFromDb($this->sObjClass, $this->iObjKey);