mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
A couple of fixes to match the Figma more closely.
This commit is contained in:
@@ -25,14 +25,14 @@ struct HomeScreenNewSoundBanner: View {
|
||||
|
||||
var content: some View {
|
||||
VStack(alignment: .leading, spacing: 4) {
|
||||
HStack(alignment: .firstTextBaseline, spacing: 16) {
|
||||
HStack(alignment: .center, spacing: 16) {
|
||||
Text(L10n.bannerNewSoundTitle)
|
||||
.font(.compound.bodyLGSemibold)
|
||||
.foregroundColor(.compound.textPrimary)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
|
||||
Button(action: dismissAction) {
|
||||
CompoundIcon(\.close, size: .small, relativeTo: .compound.bodyMD)
|
||||
CompoundIcon(\.close, size: .medium, relativeTo: .compound.bodyLGSemibold)
|
||||
.foregroundColor(.compound.iconSecondary)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user