浏览代码

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