Shrink color picker swatches (h-8 → h-6)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Kyle 2026-03-06 17:02:29 +08:00
parent a2f4d297a3
commit 38334b77a3
2 changed files with 2 additions and 2 deletions

View File

@ -157,7 +157,7 @@ export default function CalendarForm({ calendar, onClose }: CalendarFormProps) {
key={c} key={c}
type="button" type="button"
onClick={() => setColor(c)} onClick={() => setColor(c)}
className="h-8 w-8 rounded-full border-2 transition-all duration-150 hover:scale-110" className="h-6 w-6 rounded-full border-2 transition-all duration-150 hover:scale-110"
style={{ style={{
backgroundColor: c, backgroundColor: c,
borderColor: color === c ? 'hsl(0 0% 98%)' : 'transparent', borderColor: color === c ? 'hsl(0 0% 98%)' : 'transparent',

View File

@ -92,7 +92,7 @@ export default function SharedCalendarSettings({ membership, onClose }: SharedCa
key={c} key={c}
type="button" type="button"
onClick={() => handleColorSelect(c)} onClick={() => handleColorSelect(c)}
className="h-8 w-8 rounded-full border-2 transition-all duration-150 hover:scale-110" className="h-6 w-6 rounded-full border-2 transition-all duration-150 hover:scale-110"
style={{ style={{
backgroundColor: c, backgroundColor: c,
borderColor: localColor === c ? 'hsl(0 0% 98%)' : 'transparent', borderColor: localColor === c ? 'hsl(0 0% 98%)' : 'transparent',