Explorar el Código

fix: web form style

version-14
prssanna hace 4 años
padre
commit
72192e4a10
Se han modificado 2 ficheros con 18 adiciones y 1 borrados
  1. +17
    -0
      frappe/public/scss/website/web_form.scss
  2. +1
    -1
      frappe/website/doctype/web_form/templates/web_form.html

+ 17
- 0
frappe/public/scss/website/web_form.scss Ver fichero

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

+ 1
- 1
frappe/website/doctype/web_form/templates/web_form.html Ver fichero

@@ -62,7 +62,7 @@ data-web-form="{{ name }}" data-web-form-doctype="{{ doc_type }}" data-login-req
{% endif %} {# attachments #} {% endif %} {# attachments #}


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


Cargando…
Cancelar
Guardar