fixes lint warnings
This commit is contained in:
@@ -35,8 +35,8 @@
|
||||
@mixin direct-uploads {
|
||||
|
||||
.cached-image {
|
||||
max-width: 150px;
|
||||
max-height: 150px;
|
||||
max-width: rem-calc(150);
|
||||
max-height: rem-calc(150);
|
||||
}
|
||||
|
||||
.progress-bar-placeholder {
|
||||
@@ -49,14 +49,15 @@
|
||||
|
||||
.document-attachment,
|
||||
.image-attachment {
|
||||
padding-left:0;
|
||||
padding-left: 0;
|
||||
|
||||
p{
|
||||
p {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
input.js-document-attachment,
|
||||
input.js-image-attachment{
|
||||
|
||||
.js-document-attachment,
|
||||
.js-image-attachment {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -310,12 +310,10 @@
|
||||
.budget-investment-new,
|
||||
.proposal-form,
|
||||
.proposal-edit,
|
||||
.new_poll_question,
|
||||
.edit_poll_question {
|
||||
.poll-question-form {
|
||||
@include direct-uploads;
|
||||
}
|
||||
|
||||
|
||||
// 03. Show participation
|
||||
// ----------------------
|
||||
|
||||
|
||||
@@ -2,4 +2,6 @@
|
||||
|
||||
<h2><%= t("admin.questions.edit.title") %></h2>
|
||||
|
||||
<%= render "form", form_url: admin_question_path(@question) %>
|
||||
<div class="poll-question-form">
|
||||
<%= render "form", form_url: admin_question_path(@question) %>
|
||||
</div>
|
||||
|
||||
@@ -2,4 +2,6 @@
|
||||
|
||||
<h2><%= t("admin.questions.new.title") %></h2>
|
||||
|
||||
<%= render "form", form_url: admin_questions_path %>
|
||||
<div class="poll-question-form">
|
||||
<%= render "form", form_url: admin_questions_path %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user