More tweaks to width of elements

- SMS message preview gets slightly wider so it lines up with a 4/8
  column
- Edit email box gets wider to match more closely the width of the
  previewed and delivered emails
This commit is contained in:
Chris Hill-Scott
2017-04-10 10:28:27 +01:00
parent 0ba7d11097
commit 80898e350e
2 changed files with 2 additions and 4 deletions

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

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