fix: styling

This commit is contained in:
mike doornenbal 2024-08-16 09:20:06 +02:00 committed by Freek van de Ven
parent bd60fb05b0
commit d173ba11fc
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 ## 7.1.2
* Added padding to the forgotpasswordRequestButton * Added padding to the forgotpasswordRequestButton

View file

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

View file

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

View file

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