## CHANGES

- Polished Gist publish modal buttons with consistent small-text styling 🧩
- Prevented button label wrapping for cleaner, stable modal layouts 📐
This commit is contained in:
Pedram Amini
2025-12-30 01:58:04 -06:00
parent 396e74aa54
commit 4015ce8b02

View File

@@ -77,7 +77,7 @@ export function GistPublishModal({
type="button"
onClick={onClose}
disabled={isPublishing}
className="px-4 py-2 rounded border hover:bg-white/5 transition-colors outline-none focus:ring-2 focus:ring-offset-1"
className="px-4 py-2 rounded border hover:bg-white/5 transition-colors outline-none focus:ring-2 focus:ring-offset-1 whitespace-nowrap text-sm"
style={{
borderColor: theme.colors.border,
color: theme.colors.textMain,
@@ -91,7 +91,7 @@ export function GistPublishModal({
type="button"
onClick={handlePublishPublic}
disabled={isPublishing}
className="px-4 py-2 rounded border hover:bg-white/5 transition-colors outline-none focus:ring-2 focus:ring-offset-1"
className="px-4 py-2 rounded border hover:bg-white/5 transition-colors outline-none focus:ring-2 focus:ring-offset-1 whitespace-nowrap text-sm"
style={{
borderColor: theme.colors.border,
color: theme.colors.textMain,
@@ -105,7 +105,7 @@ export function GistPublishModal({
type="button"
onClick={handlePublishSecret}
disabled={isPublishing}
className="px-4 py-2 rounded transition-colors outline-none focus:ring-2 focus:ring-offset-1"
className="px-4 py-2 rounded transition-colors outline-none focus:ring-2 focus:ring-offset-1 whitespace-nowrap text-sm"
style={{
backgroundColor: theme.colors.accent,
color: theme.colors.accentForeground,