summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/disfavorform.php12
-rw-r--r--theme/base/css/display.css9
2 files changed, 18 insertions, 3 deletions
diff --git a/lib/disfavorform.php b/lib/disfavorform.php
index f339f215a..45a9ddb1d 100644
--- a/lib/disfavorform.php
+++ b/lib/disfavorform.php
@@ -103,6 +103,18 @@ class DisfavorForm extends Form
common_session_token());
}
+
+ /**
+ * Legend of the Form
+ *
+ * @return void
+ */
+ function formLegend()
+ {
+ $this->out->element('legend', null, _('Disfavor this notice'));
+ }
+
+
/**
* Data elements
*
diff --git a/theme/base/css/display.css b/theme/base/css/display.css
index 76e52ffc9..0041baf44 100644
--- a/theme/base/css/display.css
+++ b/theme/base/css/display.css
@@ -860,15 +860,18 @@ padding-left:16px;
.notice-options form input.submit {
cursor:pointer;
-padding:2px 0 2px 10px;
+width:16px;
+padding:2px 0;
}
.notice-options .notice_delete dt,
-.notice-options .form_favor legend {
+.notice-options .form_favor legend,
+.notice-options .form_disfavor legend {
display:none;
}
.notice-options .notice_delete fieldset,
-.notice-options .form_favor fieldset {
+.notice-options .form_favor fieldset,
+.notice-options .form_disfavor fieldset {
border:0;
padding:0;
}