Mulimage 2.0 #1
@@ -84,4 +84,20 @@
|
||||
background-color: hsl(var(--background));
|
||||
color: hsl(var(--foreground));
|
||||
}
|
||||
|
||||
/*
|
||||
* Tailwind v4 dropped the built-in `cursor: pointer` on buttons; restore
|
||||
* it so every <button>, <summary>, and role="button" gets the click
|
||||
* affordance. Disabled controls get `not-allowed` so the cursor mirrors
|
||||
* the visual opacity-50 state already on most buttons.
|
||||
*/
|
||||
button:not(:disabled),
|
||||
[role='button']:not([aria-disabled='true']),
|
||||
summary {
|
||||
cursor: pointer;
|
||||
}
|
||||
button:disabled,
|
||||
[role='button'][aria-disabled='true'] {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user