fix(ui): keep clip action button labels on one line and square up the post button

This commit is contained in:
juancarlos.cavero 2026-07-18 14:49:31 +02:00
parent f65a35762e
commit 1b82315615

View file

@ -9,7 +9,7 @@ import Modal from './ui/Modal';
import SegmentedControl from './ui/SegmentedControl';
import { renderInBrowser } from '../lib/renderInBrowser';
const QUIET_BTN = 'group flex items-center justify-center gap-2 py-2 px-2 rounded-input border border-rule hover:bg-paper3 text-xs lowercase text-ink2 transition-colors disabled:opacity-45 disabled:cursor-not-allowed';
const QUIET_BTN = 'group flex items-center justify-center gap-1.5 py-2 px-2 rounded-input border border-rule hover:bg-paper3 text-xs lowercase text-ink2 whitespace-nowrap transition-colors disabled:opacity-45 disabled:cursor-not-allowed';
const PLATFORM_OPTIONS = [
{ value: 'tiktok', label: 'tiktok', icon: <Video size={16} /> },
@ -653,7 +653,7 @@ export default function ResultCard({ clip, index, jobId, durableUrl, uploadPostK
<button
onClick={() => setShowModal(true)}
className="btn-primary py-2 px-2 text-xs"
className="btn-primary py-2 px-2 text-xs rounded-input whitespace-nowrap"
>
<Share2 size={16} className="shrink-0" /> post
</button>