Add margins to cards in grades page for improved layout
This commit is contained in:
parent
8eab18c91b
commit
3b5227496a
1 changed files with 3 additions and 0 deletions
|
@ -90,6 +90,7 @@ def GradesPage(page):
|
|||
], spacing=15, alignment=ft.MainAxisAlignment.START, vertical_alignment=ft.CrossAxisAlignment.CENTER),
|
||||
height=75,
|
||||
color=ft.Colors.SURFACE_CONTAINER_HIGHEST,
|
||||
margin=ft.margin.only(left=15, right=15, bottom=5),
|
||||
),
|
||||
ft.Card(
|
||||
content=ft.Row([
|
||||
|
@ -108,6 +109,7 @@ def GradesPage(page):
|
|||
], spacing=15, alignment=ft.MainAxisAlignment.START, vertical_alignment=ft.CrossAxisAlignment.CENTER),
|
||||
height=75,
|
||||
color=ft.Colors.SURFACE_CONTAINER_HIGHEST,
|
||||
margin=ft.margin.only(left=15, right=15, top=5, bottom=5),
|
||||
),
|
||||
ft.Card(
|
||||
content=ft.Row([
|
||||
|
@ -126,6 +128,7 @@ def GradesPage(page):
|
|||
], spacing=15, alignment=ft.MainAxisAlignment.START, vertical_alignment=ft.CrossAxisAlignment.CENTER),
|
||||
height=75,
|
||||
color=ft.Colors.SURFACE_CONTAINER_HIGHEST,
|
||||
margin=ft.margin.only(left=15, right=15, bottom=5, top=5),
|
||||
),
|
||||
], spacing=5)
|
||||
modal.open = True
|
||||
|
|
Loading…
Add table
Reference in a new issue