diff --git a/frontend/src/components/modals/GroupRectModal.module.css b/frontend/src/components/modals/GroupRectModal.module.css index 5670a84..87c63a3 100644 --- a/frontend/src/components/modals/GroupRectModal.module.css +++ b/frontend/src/components/modals/GroupRectModal.module.css @@ -16,27 +16,27 @@ } /* Ensure the slider bar is visible on dark backgrounds */ -.slider-thumb-sm { +.slider-thumb { background: transparent; } /* Custom slider thumb for smaller circle */ -.slider-thumb-sm::-webkit-slider-thumb { - width: 10px; - height: 10px; +.slider-thumb::-webkit-slider-thumb { + width: 13px; + height: 13px; border-radius: 50%; background: #00d4ff; border: 2px solid #21262d; } -.slider-thumb-sm::-moz-range-thumb { - width: 10px; - height: 10px; +.slider-thumb::-moz-range-thumb { + width: 13px; + height: 13px; border-radius: 50%; background: #00d4ff; border: 2px solid #21262d; } -.slider-thumb-sm::-ms-thumb { - width: 10px; - height: 10px; +.slider-thumb::-ms-thumb { + width: 13px; + height: 13px; border-radius: 50%; background: #00d4ff; border: 2px solid #21262d; diff --git a/frontend/src/components/modals/GroupRectModal.tsx b/frontend/src/components/modals/GroupRectModal.tsx index fb5faa0..a247eb5 100644 --- a/frontend/src/components/modals/GroupRectModal.tsx +++ b/frontend/src/components/modals/GroupRectModal.tsx @@ -89,6 +89,8 @@ const TEXT_POSITIONS: { value: TextPosition; label: string }[] = [ { value: 'bottom-right', label: '↘' }, ] +const getFontLabel = (value: string) => FONTS.find((f) => f.value === value)?.label ?? value + interface GroupRectModalProps { open: boolean onClose: () => void @@ -138,12 +140,19 @@ export function GroupRectModal({ open, onClose, onSubmit, onDelete, initial, tit {/* Font */}