[extensions-web/wip/tomtryf/redesign: 9/18] errorreports: Fix alignment issues on error report page



commit 0dea44bfd8abc25980ce1cb5c1e94ad1918d5905
Author: Tom Tryfonidis <tomtryf gnome org>
Date:   Mon Feb 20 15:57:22 2017 +0200

    errorreports: Fix alignment issues on error report page

 .../templates/errorreports/report.html             |    6 +++---
 sweettooth/static/css/sweettooth.css               |    9 +--------
 2 files changed, 4 insertions(+), 11 deletions(-)
---
diff --git a/sweettooth/errorreports/templates/errorreports/report.html 
b/sweettooth/errorreports/templates/errorreports/report.html
index 65008f4..39b452d 100644
--- a/sweettooth/errorreports/templates/errorreports/report.html
+++ b/sweettooth/errorreports/templates/errorreports/report.html
@@ -1,7 +1,7 @@
 {% extends "base.html" %}
 {% block title %}Report Error for "{{ extension.name }}" - {{ block.super }}{% endblock %}
 {% block body %}
-<h2><em>{{ extension.name }}</em> is malfunctioning?</h2>
+<h2>“{{ extension.name }}“ is malfunctioning?</h2>
 
 <p>Please look through the information below and edit out any unwanted information.</p>
 <form action="" method="POST" id="error_report" data-uuid="{{ extension.uuid }}">
@@ -9,8 +9,8 @@
 
   <h3> Comments for the author </h3>
   {{ form.comment }}
-
-  <input type="submit" value="Report Errors">
+  <br>
+  <input type="submit" class="btn btn-default" value="Report Errors">
 </form>
 
 {% endblock %}
diff --git a/sweettooth/static/css/sweettooth.css b/sweettooth/static/css/sweettooth.css
index c1bade0..d69030e 100644
--- a/sweettooth/static/css/sweettooth.css
+++ b/sweettooth/static/css/sweettooth.css
@@ -474,19 +474,12 @@ li.extension:last-child, #local_extensions div.extension:last-child {
     margin-left: 1em;
 }
 
-#error_report input[type=submit] {
-    display: block;
-    margin: 1em;
-}
-
 #error_report textarea,
 #error_report div {
     display: block;
-    width: 97%;
+    width: 100%;
     resize: vertical;
     min-height: 80px;
-    padding: 0.5em;
-    margin: 1em;
 }
 
 #error_report textarea {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]