aboutsummaryrefslogtreecommitdiff
path: root/Hotline/macOS/MessageBoardView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Hotline/macOS/MessageBoardView.swift')
-rw-r--r--Hotline/macOS/MessageBoardView.swift12
1 files changed, 5 insertions, 7 deletions
diff --git a/Hotline/macOS/MessageBoardView.swift b/Hotline/macOS/MessageBoardView.swift
index ba9968b..f870b0c 100644
--- a/Hotline/macOS/MessageBoardView.swift
+++ b/Hotline/macOS/MessageBoardView.swift
@@ -40,16 +40,14 @@ struct MessageBoardView: View {
.background(Color(nsColor: .textBackgroundColor))
}
else {
- VStack {
+ ZStack(alignment: .center) {
Text("No Message Board")
- .bold()
+ .font(.title)
+ .multilineTextAlignment(.center)
.foregroundStyle(.secondary)
- .font(.title3)
- Text("This server has the message board turned off.")
- .foregroundStyle(.tertiary)
- .font(.system(size: 13))
+ .padding()
}
- .padding()
+ .frame(maxWidth: .infinity)
}
}
.sheet(isPresented: $composerDisplayed) {