Skip to content

Commit

Permalink
fix: Responsividade dos cards
Browse files Browse the repository at this point in the history
  • Loading branch information
Leticia-Arisa-K-Higa authored and JAugustoM committed Dec 16, 2024
1 parent 71194d4 commit 3cca593
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions catavento/lib/screens/employee-management.dart
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,9 @@ class EmployeeManagement extends StatelessWidget {
width: 346,
borderRadius: 26,
child: SizedBox(
height: 470,
width: 302,
height: MediaQuery.of(context).size.height * 0.6,
width: MediaQuery.of(context).size.height * 0.45,
child: ListView.builder( //Aqui vai o cards dos funcionarios cadastrados
itemCount: funcionarios.length,
itemBuilder: (context, index) {
Expand Down Expand Up @@ -222,11 +223,9 @@ class EmployeeManagement extends StatelessWidget {
),
),
SizedBox(height: MediaQuery.of(context).size.height * 0.03),
SizedBox(
height: 200,
width: 330,
height: MediaQuery.of(context).size.height * 0.25,
width: MediaQuery.of(context).size.height * 0.5,
child: ListView.builder( //Aqui vai o card das atividades em andamento (Corte)
itemCount: ativAndamento.length,
itemBuilder: (context, index) {
Expand All @@ -251,11 +250,9 @@ class EmployeeManagement extends StatelessWidget {
),
),
SizedBox(height: MediaQuery.of(context).size.height * 0.03),
SizedBox(
height: 200,
width: 330,
height: MediaQuery.of(context).size.height * 0.3,
width: MediaQuery.of(context).size.height * 0.5,
child: ListView.builder( //Aqui vai os cards das atividades em andamento (Montagem)
itemCount: ativAndamento.length,
itemBuilder: (context, index) {
Expand Down

0 comments on commit 3cca593

Please sign in to comment.