fix(#83): Corriger le style du bouton Précédent et ajuster les tailles d'icônes
Utilise CustomNavigationButton avec HoverReliefWidget pour le bouton Précédent en mode mobile, assurant la cohérence visuelle avec les autres écrans. Augmente également la taille des icônes de choix (140px mobile, 170px desktop). Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -3,7 +3,7 @@ import 'package:google_fonts/google_fonts.dart';
|
||||
import '../models/card_assets.dart';
|
||||
import 'hover_relief_widget.dart';
|
||||
|
||||
// Widget for the registration choice card (Parent vs AM)
|
||||
/// Widget réutilisable pour la carte de choix Parent/AM
|
||||
class ChoiceCardWidget extends StatelessWidget {
|
||||
final VoidCallback onParentSelected;
|
||||
final VoidCallback onAmSelected;
|
||||
@@ -68,7 +68,7 @@ class ChoiceCardWidget extends StatelessWidget {
|
||||
hoverShadowColor: hoverShadow,
|
||||
child: Padding(
|
||||
padding: EdgeInsets.all(isMobile ? 6.0 : 8.0),
|
||||
child: Image.asset(iconPath, height: isMobile ? 100 : 140),
|
||||
child: Image.asset(iconPath, height: isMobile ? 140 : 170),
|
||||
),
|
||||
),
|
||||
SizedBox(height: isMobile ? 10 : 15),
|
||||
|
||||
Reference in New Issue
Block a user