Skip to content

Commit 18013da

Browse files
BboyAkersdawsontoth
authored andcommitted
fix: fixed button wrap on application action buttons
1 parent d00ed80 commit 18013da

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/features/instance/applications/components/ApplicationsSidebar/FileTreeExplorer/FileMenuActionButtons.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,15 @@ export function FileMenuActionButtons() {
9696
}, [isDeleteFolderOrFileClicked]);
9797

9898
return (
99-
<div className="p-2 border-b border-gray-700 mb-2 h-12">
100-
<div>
99+
<div className="p-2 border-b border-gray-700 mb-2 min-h-12">
100+
<div className='flex flex-wrap gap-2'>
101101
{selectedFolderFile.pkg && (
102102
<Button
103103
onClick={redeployPackage}
104104
disabled={isDeployComponentPending}
105105
variant="positiveOutline"
106106
size="sm"
107-
className="mr-2 rounded-full"
107+
className=" rounded-full"
108108
>
109109
<RefreshCwIcon className="w-4 h-4" />
110110
<span className="ms-1"> Redeploy Package</span>
@@ -120,7 +120,7 @@ export function FileMenuActionButtons() {
120120
disabled={false}
121121
variant="positiveOutline"
122122
size="sm"
123-
className="mr-2 rounded-full"
123+
className=" rounded-full"
124124
>
125125
<Plus className="w-4 h-4" />
126126
<span className="ms-1"> Folder</span>
@@ -134,7 +134,7 @@ export function FileMenuActionButtons() {
134134
disabled={false}
135135
variant="positiveOutline"
136136
size="sm"
137-
className="mr-2 rounded-full"
137+
className=" rounded-full"
138138
>
139139
<Plus className="w-4 h-4" />
140140
<span className="ms-1"> File</span>

0 commit comments

Comments
 (0)