Skip to content

Commit 4e653c2

Browse files
committed
UI Fixes
1 parent 865400a commit 4e653c2

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

Sources/MaterialUIKit/Components/Dialog And Alerts/MUIDialogSheet.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ extension View {
2727

2828
// MARK: - MUIDialogSheetModifer
2929

30-
/// A view modifier that adds the MaterialUI style dialog sheet behavior to any view.
30+
/// A view modifier that adds the MaterialUI style dialog sheet behavior to any view.
3131
@available(iOS 15.0, *)
3232
private struct MUIDialogSheetModifer: ViewModifier {
3333

Sources/MaterialUIKit/Components/Navigation And Structure/MUINavigationView.swift

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ extension MUINavigationHeader {
124124

125125
// Navigation title
126126
Text(title)
127-
.font(.title)
127+
.font(.largeTitle)
128128
.fontWeightWithFallback(.medium)
129129
}
130130
.foregroundStyle(.muiPrimaryTitle)
@@ -147,7 +147,7 @@ extension MUINavigationHeader {
147147

148148
// Navigation title
149149
Text(title)
150-
.font(.title3)
150+
.font(.title2)
151151

152152
Spacer()
153153

@@ -238,13 +238,11 @@ public struct MUINavigationLink<Label, Destination>: View where Label: View, Des
238238

239239
public var body: some View {
240240
NavigationLink {
241-
MUINavigationBarContainerView {
242-
destination
243-
}
244-
.navigationBarHidden(true)
241+
destination
242+
.navigationBarHidden(true)
245243
} label: {
246244
label
247-
.padding(.horizontal, 8)
245+
.padding(.horizontal, 4)
248246
}
249247
}
250248
}

0 commit comments

Comments
 (0)