Skip to content

Commit e8e2dd0

Browse files
buttons take up whole width
1 parent 163356f commit e8e2dd0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

client/src/components/Sidebar.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -251,15 +251,15 @@ const Sidebar = ({
251251
className="font-mono"
252252
/>
253253
</div>
254-
<div className="flex gap-2 justify-end">
254+
<div className="grid grid-cols-2 gap-2 mt-2">
255255

256256
<Tooltip>
257257
<TooltipTrigger asChild>
258258
<Button
259259
variant="outline"
260260
size="sm"
261261
onClick={handleCopyConfigEntry}
262-
className="mt-1"
262+
className="w-full"
263263
>
264264
{copiedConfigEntry ? (
265265
<CheckCheck className="h-4 w-4 mr-2" />
@@ -279,7 +279,7 @@ const Sidebar = ({
279279
variant="outline"
280280
size="sm"
281281
onClick={handleCopyConfigFile}
282-
className="mt-1"
282+
className="w-full"
283283
>
284284
{copiedConfigFile ? (
285285
<CheckCheck className="h-4 w-4 mr-2" />
@@ -309,12 +309,12 @@ const Sidebar = ({
309309
className="font-mono"
310310
/>
311311
</div>
312-
<div className="flex justify-end">
312+
<div className="w-full mt-2">
313313
<Button
314314
variant="outline"
315315
size="sm"
316316
onClick={handleCopyConfigFile}
317-
className="mt-1"
317+
className="w-full"
318318
title="Copy SSE URL Configuration"
319319
>
320320
{copiedConfigFile ? (

0 commit comments

Comments
 (0)