From 3913b6a5d8fe4b1815d1234989e1287715225fe0 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Fri, 22 Oct 2010 11:21:44 -0700 Subject: [PATCH 1/2] Updated styling for OAuth authorization page's desktop mode. TODO: move these styles into the main CSS file. --- actions/apioauthauthorize.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/apioauthauthorize.php b/actions/apioauthauthorize.php index 9929c36c0d..b83582702e 100644 --- a/actions/apioauthauthorize.php +++ b/actions/apioauthauthorize.php @@ -333,7 +333,7 @@ class ApiOauthAuthorizeAction extends Action parent::showStyleSheets(); if ($this->desktopMode()) { - $this->style('#wrap {min-width: 500px; } #content {width: 480px; padding: 10px;} fieldset {margin-bottom: 10px !important;}'); + $this->style('#wrap {min-width: 500px;} #content {width: 480px; padding: 6px; margin: 4px 0px 0px 4px; border-top-left-radius: 7px; -moz-border-radius-topleft: 7px; -webkit-border-top-left-radius: 7px;} fieldset {margin-bottom: 10px !important;}'); } } From 3969870cf3878933f0c37c23e1d481d338b52d29 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Fri, 22 Oct 2010 18:32:08 +0000 Subject: [PATCH 2/2] Normalize HTML body ids to lowercase when the user is logged out as well. --- lib/action.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/action.php b/lib/action.php index 4aa6ace778..01bb0f7e92 100644 --- a/lib/action.php +++ b/lib/action.php @@ -364,7 +364,7 @@ class Action extends HTMLOutputter // lawsuit { $this->elementStart('body', (common_current_user()) ? array('id' => strtolower($this->trimmed('action')), 'class' => 'user_in') - : array('id' => $this->trimmed('action'))); + : array('id' => strtolower($this->trimmed('action')))); $this->elementStart('div', array('id' => 'wrap')); if (Event::handle('StartShowHeader', array($this))) { $this->showHeader();