Small style fixes [SCI-3498] (#1799)

* Adding error, if TinyMCE asset not in text, when we copy anything

* Small style fixes
This commit is contained in:
aignatov-bio 2019-05-27 16:27:27 +02:00 committed by GitHub
parent 71aa39eed2
commit 0b3b6d593b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View file

@ -95,7 +95,7 @@
margin-bottom: 0;
}
.atwho-user-container {
.atwho-user-container:nth-child(1) {
height: 20px;
margin-left: -35px;

View file

@ -361,6 +361,10 @@
#search-bar {
padding-right: 0;
.btn-default[type="submit"] {
height: 34px;
}
}
@media (max-width: 768px) {

View file

@ -62,7 +62,7 @@ module TinyMceImages
Rails.logger.error "TinyMCE Asset with id #{old_id} not in text"
next
end
image['data-mce-token'] = Base62.encode(new_id)
end
update(object_field => parsed_description.css('body').inner_html.to_s)