oneslash-design-system 1.1.27 → 1.1.29
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/button.tsx +2 -2
- package/components/tag.tsx +1 -1
- package/package.json +1 -1
package/components/button.tsx
CHANGED
|
@@ -106,9 +106,9 @@ export default function Button({
|
|
|
106
106
|
onClick={onClickButton}
|
|
107
107
|
>
|
|
108
108
|
{/* Group IconLeft and label in a flex container for left alignment */}
|
|
109
|
-
<div className="flex items-center
|
|
109
|
+
<div className="flex items-center">
|
|
110
110
|
{IconLeft && <IconLeft className={sizeIcon} />}
|
|
111
|
-
<div className="whitespace-nowrap overflow-hidden truncate">{label}</div>
|
|
111
|
+
<div className="whitespace-nowrap overflow-hidden truncate px-2">{label}</div>
|
|
112
112
|
</div>
|
|
113
113
|
{IconRight && (
|
|
114
114
|
<div onClick={onClickActionIcon} className="cursor-pointer">
|
package/components/tag.tsx
CHANGED