changeset bef5419b2141 in bugs.tryton.org:default
details: https://hg.tryton.org/bugs.tryton.org?cmd=changeset;node=bef5419b2141
description:
Give more space for review and file upload on large screen
diffstat:
html/issue.item.edit.html | 6 +++---
html/layout/edit.tmpl | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (36 lines):
diff -r 9f22766e3083 -r bef5419b2141 html/issue.item.edit.html
--- a/html/issue.item.edit.html Mon Oct 19 00:28:24 2020 +0200
+++ b/html/issue.item.edit.html Mon Oct 19 10:14:46 2020 +0200
@@ -41,11 +41,11 @@
{{ edit.field_small('Keywords', 'keyword', 'keyword') }}
{{ edit.textarea('Change note', 'change_note', '@note') }}
{{ edit.file('File', 'file_upload', '@file') }}
- <div class="col row mr-1">
- <dt class="col col-4 col-md-3 col-lg-4">
+ <div class="col col-lg-12 row">
+ <dt class="col col-4 col-md-3 col-lg-2">
<label class="col-form-label" for="reviews">{{
i18n.gettext('Reviews')|u|safe }}</label>
</dt>
- <dd class="col col-8 col-md-9 col-lg-8 input-group">
+ <dd class="col col-8 col-md-9 col-lg-10 input-group">
{{ context.reviews.field(class='form-control', id='reviews')|u|safe
}}
{% if context.reviews %}
<div class="input-group-append">
diff -r 9f22766e3083 -r bef5419b2141 html/layout/edit.tmpl
--- a/html/layout/edit.tmpl Mon Oct 19 00:28:24 2020 +0200
+++ b/html/layout/edit.tmpl Mon Oct 19 10:14:46 2020 +0200
@@ -19,11 +19,11 @@
</div>
{% endmacro -%}
{% macro file(text, id, name) %}
- <div class="col row mr-1">
- <dt class="col col-4 col-md-3 col-lg-4">
+ <div class="col col-lg-12 row">
+ <dt class="col col-4 col-md-3 col-lg-2">
<label class="col-form-label" for="{{ id }}">{{
i18n.gettext(text)|u|safe }}</label>
</dt>
- <dd class="col col-8 col-md-9 col-lg-8">
+ <dd class="col col-8 col-md-9 col-lg-10">
<input class="form-control btn btn-sm btn-outline-secondary" name="{{
name }}" id="{{ id }}" type="file" {%- if required %}required="required"{%
endif %} />
</dd>
</div>