Commit d38f891fbaab943f8d9dc1674e3918652d962eed

Authored by 常守达
1 parent 20896cf5

fix(login):扩大点击范围

@@ -173,7 +173,7 @@ class LoginView extends GetView<LoginController> { @@ -173,7 +173,7 @@ class LoginView extends GetView<LoginController> {
173 ), 173 ),
174 // Terms agreement text + checkbox 174 // Terms agreement text + checkbox
175 Positioned( 175 Positioned(
176 - bottom: bottom(40), 176 + bottom: bottom(25),
177 left: 0, 177 left: 0,
178 right: 0, 178 right: 0,
179 child: const _AgreementText(), 179 child: const _AgreementText(),
@@ -297,11 +297,11 @@ class _AgreementText extends GetView<LoginController> { @@ -297,11 +297,11 @@ class _AgreementText extends GetView<LoginController> {
297 decorationColor: _linkColor, 297 decorationColor: _linkColor,
298 ); 298 );
299 299
300 - return Padding(  
301 - padding: const EdgeInsets.symmetric(horizontal: 24.0),  
302 - child: GestureDetector(  
303 - onTap: controller.toggleTermsChecked,  
304 - behavior: HitTestBehavior.opaque, 300 + return GestureDetector(
  301 + onTap: controller.toggleTermsChecked,
  302 + behavior: HitTestBehavior.opaque,
  303 + child: Padding(
  304 + padding: const EdgeInsets.fromLTRB(24.0, 20, 24.0, 15),
305 child: Text.rich( 305 child: Text.rich(
306 TextSpan( 306 TextSpan(
307 style: baseStyle, 307 style: baseStyle,