Skip to content

Commit

Permalink
Fix brew management view spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
milanvarady committed Jan 11, 2025
1 parent 0a38dc5 commit 0904a5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ extension BrewManagementView {
Text(remark.remark)
}
}
.frame(maxHeight: .infinity, alignment: .topLeading) // Don't trucate text

Spacer()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,16 @@ extension BrewManagementView {
}

private func infoCard(title: LocalizedStringKey, info: String) -> some View {
Card {
Card(paddig: 8) {
VStack {
Text(title)
.font(.system(size: 16, weight: .bold))

Text(info)
.font(.system(size: 52, weight: .thin))

Spacer()
}
}
.frame(height: 100)
}
}
}

0 comments on commit 0904a5e

Please sign in to comment.