mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-31 04:32:06 +08:00
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:
parent
71aa39eed2
commit
0b3b6d593b
3 changed files with 6 additions and 2 deletions
|
@ -95,7 +95,7 @@
|
|||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.atwho-user-container {
|
||||
.atwho-user-container:nth-child(1) {
|
||||
height: 20px;
|
||||
margin-left: -35px;
|
||||
|
||||
|
|
|
@ -361,6 +361,10 @@
|
|||
|
||||
#search-bar {
|
||||
padding-right: 0;
|
||||
|
||||
.btn-default[type="submit"] {
|
||||
height: 34px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue