Skip to content

Commit

Permalink
fix: web form style
Browse files Browse the repository at this point in the history
  • Loading branch information
prssanna committed Mar 11, 2021
1 parent 1937a1e commit 72192e4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions frappe/public/scss/website/web_form.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@import "../common/form";

.web-form-wrapper {
.form-control {
color: var(--text-color);
}

.form-column {
&:first-child {
padding-left: 0;
}

&:last-child {
padding-right: 0;
}
}
}
2 changes: 1 addition & 1 deletion frappe/website/doctype/web_form/templates/web_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ <h5>{{ _("Attachments") }}</h5>
{% endif %} {# attachments #}

{% if allow_comments and not frappe.form_dict.new and not is_list -%}
<div class="comments">
<div class="comments mt-6">
<h3>{{ _("Comments") }}</h3>
{% include 'templates/includes/comments/comments.html' %}
</div>
Expand Down

0 comments on commit 72192e4

Please sign in to comment.