From 815da4e78eba5eb52e651655a14127bb872b42f8 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Wed, 22 Feb 2023 13:03:20 +0800 Subject: [PATCH] Better alignment of the reader right menu button --- .../App/Views/WebReader/WebReaderContainer.swift | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/apple/OmnivoreKit/Sources/App/Views/WebReader/WebReaderContainer.swift b/apple/OmnivoreKit/Sources/App/Views/WebReader/WebReaderContainer.swift index 0176e8718..da9c0141a 100644 --- a/apple/OmnivoreKit/Sources/App/Views/WebReader/WebReaderContainer.swift +++ b/apple/OmnivoreKit/Sources/App/Views/WebReader/WebReaderContainer.swift @@ -295,9 +295,12 @@ struct WebReaderContainerView: View { label: { #if os(iOS) Image(systemName: "ellipsis") - .padding(.horizontal) + .resizable(resizingMode: Image.ResizingMode.stretch) + .aspectRatio(contentMode: .fit) + .foregroundColor(.appGrayTextContrast) + .frame(width: 20, height: 20) .scaleEffect(navBarVisibilityRatio) - .frame(width: 36, height: 36) + .padding() #else Text(LocalText.genericOptions) #endif @@ -306,6 +309,9 @@ struct WebReaderContainerView: View { #if os(macOS) .frame(maxWidth: 100) .padding(.trailing, 16) + #else + .padding(.trailing, 3) + .padding(.bottom, 10) #endif } .frame(height: readerViewNavBarHeight * navBarVisibilityRatio)