@redseed/redseed-ui-tailwindcss 7.44.0 → 7.44.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/pill.css +5 -1
- package/package.json +1 -1
package/components/pill.css
CHANGED
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
@apply inline-flex items-center gap-2 w-fit h-fit shrink-0;
|
|
6
6
|
@apply rounded-full border border-border-secondary;
|
|
7
|
-
|
|
7
|
+
/* Design spec: pill hugs its content horizontally but stands 32px tall.
|
|
8
|
+
min-h-8 (32px) locks the height for both the icon and text-only variants;
|
|
9
|
+
items-center centres the content, so the 24px icon badge no longer drives
|
|
10
|
+
the pill past spec the way the old py-1.5 did. */
|
|
11
|
+
@apply px-3 min-h-8 select-none whitespace-nowrap cursor-pointer transition;
|
|
8
12
|
@apply text-sm font-medium leading-5;
|
|
9
13
|
@apply bg-background-primary text-text-secondary;
|
|
10
14
|
|