Merge pull request #1221 from alphagov/letter-edit-width-final

Increase width of edit letter textbox
This commit is contained in:
Chris Hill-Scott
2017-04-11 14:03:02 +01:00
committed by GitHub
5 changed files with 9 additions and 9 deletions

View File

@@ -18,6 +18,10 @@
@include grid-column(1/8);
}
.column-five-eighths {
@include grid-column(5/8);
}
.column-seven-eighths {
@include grid-column(7/8);
}

View File

@@ -2,7 +2,7 @@
.sms-message-wrapper {
width: 100%;
max-width: 450px;
max-width: 464px;
box-sizing: border-box;
padding: $gutter-half $gutter-half $gutter-half $gutter-half;
background: $panel-colour;

View File

@@ -30,12 +30,12 @@
.edit-template-link-letter-address {
@extend %edit-template-link;
top: 16.5%; // align bottom edge to bottom of address
top: 14.65%; // align bottom edge to bottom of address
left: -5px;
}
.edit-template-link-letter-body {
@extend %edit-template-link;
top: 33.3%; // aligns to top of subject
top: 38.5%; // aligns to top of subject
left: -5px;
}

View File

@@ -15,11 +15,9 @@
<form method="post">
<div class="grid-row">
<div class="column-three-quarters">
<div class="column-five-sixths">
{{ textbox(form.name, width='1-1', hint='Your recipients wont see this', rows=10) }}
{{ textbox(form.subject, width='1-1', highlight_tags=True, rows=2) }}
</div>
<div class="column-three-quarters">
{{ textbox(form.template_content, highlight_tags=True, width='1-1', rows=8) }}
{% if current_user.has_permissions([], admin_override=True) %}
{{ radios(form.process_type) }}

View File

@@ -14,11 +14,9 @@
<form method="post">
<div class="grid-row">
<div class="column-three-quarters">
<div class="column-five-sixths">
{{ textbox(form.name, width='1-1', hint='Your recipients wont see this', rows=10) }}
{{ textbox(form.subject, width='1-1', highlight_tags=True, rows=2) }}
</div>
<div class="column-three-quarters">
{{ textbox(form.template_content, highlight_tags=True, width='1-1', rows=8) }}
{{ page_footer(
'Save',