fix: styling

This commit is contained in:
mike doornenbal 2024-08-16 09:20:06 +02:00
parent f6c3e2479d
commit 37f45755fb
4 changed files with 12 additions and 5 deletions

View file

@ -1,3 +1,8 @@
## 7.1.3
* Fixed forgotpassword description line height.
* Fixed default text.
## 7.1.2
* Added padding to the forgotpasswordRequestButton

View file

@ -161,9 +161,9 @@ class LoginOptions {
class LoginTranslations {
const LoginTranslations({
this.emailEmpty = 'Email is required',
this.passwordEmpty = 'Password is required',
this.emailInvalid = 'Enter a valid email address',
this.emailEmpty = 'Please enter your email address',
this.passwordEmpty = 'Please enter your password',
this.emailInvalid = 'Please enter a valid email address',
this.loginButton = 'Log in',
this.forgotPasswordButton = 'Forgot password?',
this.requestForgotPasswordButton = 'Send link',

View file

@ -110,7 +110,9 @@ class _ForgotPasswordFormState extends State<ForgotPasswordForm> {
alignment: Alignment.topCenter,
child: wrapWithDefaultStyle(
widget.description,
theme.textTheme.bodyMedium,
theme.textTheme.bodyMedium?.copyWith(
height: 1.4,
),
),
),
if (options

View file

@ -1,6 +1,6 @@
name: flutter_login
description: Flutter Login Component
version: 7.1.2
version: 7.1.3
publish_to: https://forgejo.internal.iconica.nl/api/packages/internal/pub