fix: minor ui changes

This commit is contained in:
Siddhant Rai
2024-04-10 12:23:37 +05:30
parent 8654c5d471
commit 71d7daaef3
2 changed files with 4 additions and 5 deletions

View File

@@ -60,7 +60,7 @@ function AddPrompt({
<div className="mt-6 flex flex-row-reverse">
<button
onClick={handleAddPrompt}
className="rounded-3xl bg-purple-30 px-6 py-3 text-sm text-white transition-all hover:opacity-90"
className="rounded-3xl bg-purple-30 px-5 py-2 text-sm text-white transition-all hover:opacity-90"
>
Save
</button>
@@ -130,7 +130,7 @@ function EditPrompt({
</div>
<div className="mt-6 flex flex-row-reverse gap-4">
<button
className={`rounded-3xl bg-purple-30 px-6 py-3 text-sm text-white transition-all ${
className={`rounded-3xl bg-purple-30 px-5 py-2 text-sm text-white transition-all ${
currentPromptEdit.type === 'public'
? 'cursor-not-allowed opacity-50'
: 'hover:opacity-90'