Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
artfulrobot committed Sep 20, 2024
1 parent 9595b3a commit 24896eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ext/standaloneusers/Civi/Standalone/Event/LoginEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
*
* Generally, listeners may set stopReason to a valid string (see below)
* to prevent login continuing.
*
*/
class LoginEvent extends GenericHookEvent {

Expand Down Expand Up @@ -77,7 +76,7 @@ class LoginEvent extends GenericHookEvent {
* - 'wrongMFA'
* - 'loginPrevented'
*
* @var string
* @var null|string
*/
public $stopReason = NULL;

Expand All @@ -86,6 +85,7 @@ class LoginEvent extends GenericHookEvent {
*
* @param string $stage
* @param int|null $userID
* @param string|null $stopReason
*/
public function __construct($stage, $userID, $stopReason = NULL) {
$this->stage = $stage;
Expand Down
6 changes: 4 additions & 2 deletions ext/standaloneusers/css/standalone.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ html.crm-standalone nav.breadcrumb>ol {
.standalone-auth-form .input-wrapper {
margin-bottom: 1rem;
}
.standalone-auth-form label {
/* the div.crm-container is to beat the specificity of civicrm.css under Greenwich */
div.crm-container .standalone-auth-form label {
display: block;
margin-bottom: 0.25rem;
}
.standalone-auth-form input {
/* the div.crm-container is to beat the specificity of civicrm.css under Greenwich */
div.crm-container .standalone-auth-form input {
box-sizing: border-box;
width: 100%;
height: 2rem;
Expand Down

0 comments on commit 24896eb

Please sign in to comment.