fixes lint warnings

This commit is contained in:
decabeza
2017-09-28 16:03:08 +02:00
parent fd78eb30cc
commit 876a2b530b
4 changed files with 14 additions and 11 deletions

View File

@@ -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;
}
}

View File

@@ -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
// ----------------------

View File

@@ -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>

View File

@@ -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>