summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/util.php2
-rw-r--r--theme/stoica/display.css10
2 files changed, 11 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 7e49dd8bd..8a1f9e008 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -1550,6 +1550,7 @@ function common_session_token() {
function common_disfavor_form($notice) {
common_element_start('form', array('id' => 'disfavor-' . $notice->id,
'method' => 'post',
+ 'class' => 'disfavor',
'action' => common_local_url('disfavor')));
common_hidden('token', common_session_token());
common_hidden('notice', $notice->id);
@@ -1560,6 +1561,7 @@ function common_disfavor_form($notice) {
function common_favor_form($notice) {
common_element_start('form', array('id' => 'favor-' . $notice->id,
'method' => 'post',
+ 'class' => 'favor',
'action' => common_local_url('favor')));
common_hidden('token', common_session_token());
common_hidden('notice', $notice->id);
diff --git a/theme/stoica/display.css b/theme/stoica/display.css
index 49f86aef9..a0f37fc4d 100644
--- a/theme/stoica/display.css
+++ b/theme/stoica/display.css
@@ -647,6 +647,10 @@ input#openid_url {
/* ----- favor/disfavor -----*/
+form#disfavor, form.disfavor {
+ display: inline;
+}
+
input#disfavor, input.disfavor {
display: inline;
color: #C15D42;
@@ -655,7 +659,11 @@ input#disfavor, input.disfavor {
border: 0;
width: auto;
}
-
+
+form#favor, form.favor {
+ display: inline;
+}
+
input#favor, input.favor {
display: inline;
color: #C15D42;