fix: 4032 - better paddings for login page (#4037)
* fix: 4032 - better paddings for login page * fix: 4032 - golden generated png files * fix: 4032 - hint text on max 2 lines
@ -98,6 +98,7 @@ class _SmoothTextFormFieldState extends State<SmoothTextFormField> {
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
hintText: widget.hintText,
|
||||
hintMaxLines: 2,
|
||||
border: const OutlineInputBorder(
|
||||
borderRadius: CIRCULAR_BORDER_RADIUS,
|
||||
),
|
||||
|
@ -95,7 +95,6 @@ class _LoginPageState extends State<LoginPage> with TraceableClientMixin {
|
||||
final Size size = MediaQuery.of(context).size;
|
||||
|
||||
return SmoothScaffold(
|
||||
extendBodyBehindAppBar: true,
|
||||
statusBarBackgroundColor: SmoothScaffold.semiTranslucentStatusBar,
|
||||
contentBehindStatusBar: true,
|
||||
fixKeyboard: true,
|
||||
@ -113,9 +112,10 @@ class _LoginPageState extends State<LoginPage> with TraceableClientMixin {
|
||||
child: Container(
|
||||
alignment: Alignment.topCenter,
|
||||
width: double.infinity,
|
||||
padding: EdgeInsets.symmetric(
|
||||
horizontal: size.width * 0.15,
|
||||
vertical: size.width * 0.05,
|
||||
padding: EdgeInsets.only(
|
||||
left: size.width * 0.15,
|
||||
right: size.width * 0.15,
|
||||
bottom: size.width * 0.05,
|
||||
),
|
||||
child: AutofillGroup(
|
||||
child: Center(
|
||||
@ -124,10 +124,6 @@ class _LoginPageState extends State<LoginPage> with TraceableClientMixin {
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: <Widget>[
|
||||
const SizedBox(
|
||||
height: LARGE_SPACE * 2,
|
||||
),
|
||||
|
||||
SvgPicture.asset(
|
||||
'assets/preferences/login.svg',
|
||||
height: MediaQuery.of(context).size.height * .15,
|
||||
|
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 7.4 KiB |
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 7.4 KiB |
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 8.5 KiB |
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 8.7 KiB |
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 7.0 KiB |
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.8 KiB |
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 7.8 KiB |
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 13 KiB |