Fix: displaying more than one row of image attachments broke publisher
This commit is contained in:
parent
c7f4051ac0
commit
d928c69e36
2 changed files with 13 additions and 14 deletions
|
|
@ -36,6 +36,12 @@
|
|||
textarea {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
#publisher_textarea_wrapper.with_attachments {
|
||||
textarea {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mentions-autocomplete-list ul {
|
||||
|
|
@ -183,6 +189,7 @@
|
|||
.markdownIndications {
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
left: 5px;
|
||||
}
|
||||
|
||||
@include border-radius(2px);
|
||||
|
|
@ -208,16 +215,11 @@
|
|||
}
|
||||
|
||||
&.with_attachments {
|
||||
padding-bottom: 38px;
|
||||
padding-bottom: 25px;
|
||||
}
|
||||
|
||||
#photodropzone {
|
||||
z-index: 3;
|
||||
position: absolute;
|
||||
bottom: 15px;
|
||||
right: 35px;
|
||||
width: 430px;
|
||||
left: 5px;
|
||||
margin: 0 5px;
|
||||
padding: 0;
|
||||
|
||||
li {
|
||||
|
|
@ -298,8 +300,6 @@
|
|||
}
|
||||
|
||||
#publisher-images {
|
||||
padding-left: 5px;
|
||||
|
||||
#locator {
|
||||
bottom: 1px !important;
|
||||
display: inline-block;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
%params
|
||||
#publisher_textarea_wrapper
|
||||
= link_to(content_tag(:div, nil, :class => 'icons-deletelabel'), "#", :id => "hide_publisher", :title => t('shared.publisher.discard_post'))
|
||||
%ul#photodropzone
|
||||
- if current_user.getting_started?
|
||||
= status.text_area :fake_text, :rows => 2, :value => h(publisher_formatted_text), :tabindex => 1, :placeholder => "#{t('contacts.index.start_a_conversation')}...",
|
||||
:title => popover_with_close_html( '1. ' + t('shared.public_explain.share') ),
|
||||
|
|
@ -24,7 +23,7 @@
|
|||
- else
|
||||
= status.text_area :fake_text, :rows => 2, :value => h(publisher_formatted_text), :tabindex => 1, :placeholder => "#{t('contacts.index.start_a_conversation')}..."
|
||||
= status.hidden_field :text, :value => h(publisher_hidden_text), :class => 'clear_on_submit'
|
||||
|
||||
%ul#photodropzone
|
||||
%span#publisher-images
|
||||
%span.markdownIndications
|
||||
!= t('shared.publisher.formatWithMarkdown', markdown_link: link_to(t('help.markdown'), 'https://diasporafoundation.org/formatting', target: :blank))
|
||||
|
|
|
|||
Loading…
Reference in a new issue