Преглед на файлове

Increase toolbar button horizontal padding so Paste Text and Upload File have more comfortable width.

Co-authored-by: Cursor <cursoragent@cursor.com>
AhtashamShahzad1 преди 1 месец
родител
ревизия
425b17afa1
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      gramora/Views/Components/GradientButton.swift

+ 1 - 1
gramora/Views/Components/GradientButton.swift

@@ -55,7 +55,7 @@ struct ToolbarButton: View {
                     .font(.system(size: 12, weight: .medium))
             }
             .foregroundStyle(isHovered ? AppTheme.toolbarForegroundHover : AppTheme.textSecondary)
-            .padding(.horizontal, 12)
+            .padding(.horizontal, 24)
             .padding(.vertical, 7)
             .background(isHovered ? AppTheme.toolbarBackgroundHover : Color.white)
             .clipShape(RoundedRectangle(cornerRadius: 8))