Skip to content
This repository was archived by the owner on Jun 25, 2024. It is now read-only.

Commit d650039

Browse files
author
Billy Clark
committed
long error messages looked bad.
1 parent 91008d1 commit d650039

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

themes/material/core/loginuserpass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function onRecaptchaLoad() {
7979
child-spacing="space-between">
8080
<i class="material-icons">error</i>
8181

82-
<span class="mdl-typography--caption margin">
82+
<span class="mdl-textfield mdl-typography--caption margin">
8383
<?= $this->t($errorMessageKey, $errorMessageTokens) ?>
8484
</span>
8585
</p>

www/styles.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,15 @@
7272
color: blue;
7373
}
7474

75+
/* The font-size in the mdl-textfield was overriding the one in
76+
caption since it was defined later in the CSS but the font-size from
77+
caption is what was needed here so more specificity required to override
78+
it back
79+
*/
80+
.mdl-textfield.mdl-typography--caption {
81+
font-size: 12px
82+
}
83+
7584
/* Material icons */
7685
@font-face {
7786
font-family: 'Material Icons';

0 commit comments

Comments
 (0)