Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #558 from shacker/CLC-1106

CLC-1106 Move date field error msg closer to its field
  • Loading branch information...
commit 6436137b8142260e23607d3246e9d2e0e21873aa 2 parents c4f9968 + 4ec9751
@christianv christianv authored
View
6 app/assets/stylesheets/tasks.scss
@@ -34,6 +34,12 @@
margin-bottom: 10px;
}
}
+ .cc-widget-body .cc-alert-text {
+ margin-bottom: 5px;
+ }
+ .cc-task-date-input .ng-invalid {
+ margin-bottom: 2px;
+ }
}
/* Mobile only */
View
4 app/views/templates/_dashboard.html.erb
@@ -30,14 +30,14 @@
<div class="two columns mobile-one">
<label for="cc-widget-tasks-addtask-date">Due:</label>
</div>
- <div class="ten columns mobile-three">
+ <div class="ten columns mobile-three cc-task-date-input">
<input type="text"
data-ng-model="add_task.due_date"
name="add_task_due_date"
id="cc-widget-tasks-addtask-date"
placeholder="mm/dd/yy"
data-cc-mmddyyvalidator />
- <p class="cc-alert" data-ng-show="cc_widget_tasks_form.add_task_due_date.$error.ccMmddyyvalidator">
+ <p class="cc-alert cc-alert-text" data-ng-show="cc_widget_tasks_form.add_task_due_date.$error.ccMmddyyvalidator">
Please use mm/dd/yy date format
</p>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.