mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix(site): position ModuleCard's checkmark relative to checkbox (#26925)
fixes DEVEX-571 ## before https://github.com/user-attachments/assets/e0e2fff2-4297-433f-9c99-e423c6e9e307 ## after https://github.com/user-attachments/assets/15f92377-910e-4c95-8621-c37532aec5ca
This commit is contained in:
@@ -50,7 +50,7 @@ export const ModuleCard: React.FC<ModuleCardProps> = ({
|
||||
<div
|
||||
aria-hidden="true"
|
||||
className={cn(
|
||||
"flex items-center justify-center size-4 rounded-xs mt-0.5 shrink-0",
|
||||
"relative flex items-center justify-center size-4 rounded-xs mt-0.5 shrink-0",
|
||||
"border border-solid border-border-secondary",
|
||||
selected ? "bg-content-primary" : "bg-surface-secondary",
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user