Shrink color picker swatches (h-8 → h-6)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a2f4d297a3
commit
38334b77a3
@ -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',
|
||||||
|
|||||||
@ -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',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user