소스 검색

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))