Skip to content

Commit 04e750c

Browse files
committed
style: improve feedback UI spacing and button styling
1 parent 1c8a9c6 commit 04e750c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

apps/dashboard/src/app/(app)/components/Header/SecondaryNav/SecondaryNav.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ export function SecondaryNavLinks() {
6565
<button
6666
type="button"
6767
onClick={() => setShowFeedbackDropdown(!showFeedbackDropdown)}
68-
className="text-muted-foreground text-sm hover:text-foreground"
68+
className="text-muted-foreground text-sm hover:text-foreground border border-border px-3 py-1.5 rounded-full hover:bg-muted transition-colors"
6969
>
7070
Feedback
7171
</button>
7272

7373
{showFeedbackDropdown && (
74-
<div className="absolute top-full right-0 mt-2 bg-background border border-border rounded-2xl p-6 w-96 z-50">
74+
<div className="absolute top-full right-0 mt-2 bg-background border border-border rounded-2xl p-3 w-96 z-50">
7575
<h2 className="text-foreground text-base font-sans mb-2">
7676
Share your feedback with us:
7777
</h2>
@@ -96,7 +96,7 @@ export function SecondaryNavLinks() {
9696
.
9797
</div>
9898
</div>
99-
<div className="flex gap-3 flex-shrink-0">
99+
<div className="flex gap-2 flex-shrink-0">
100100
<button
101101
type="button"
102102
onClick={handleModalCancel}

apps/dashboard/src/app/(app)/components/MobileBurgerMenuButton.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ export function MobileBurgerMenuButton(
221221
</button>
222222

223223
{showFeedbackSection && (
224-
<div className="bg-muted/50 rounded-lg p-4 space-y-4 mb-8">
224+
<div className="pl-0 pr-4 space-y-4 mb-6">
225225
<h3 className="text-sm font-medium text-foreground">
226226
Share your feedback with us:
227227
</h3>
@@ -248,14 +248,14 @@ export function MobileBurgerMenuButton(
248248
<button
249249
type="button"
250250
onClick={handleModalCancel}
251-
className="flex-1 bg-transparent text-foreground px-3 py-2 rounded-lg font-sans text-sm border border-border hover:bg-muted transition-colors"
251+
className="flex-1 bg-transparent text-foreground px-3 py-2 rounded-full font-sans text-sm border border-border hover:bg-muted transition-colors"
252252
>
253253
Cancel
254254
</button>
255255
<button
256256
type="button"
257257
onClick={handleModalSubmit}
258-
className="flex-1 bg-primary text-primary-foreground px-3 py-2 rounded-lg font-sans text-sm hover:bg-primary/90 transition-colors"
258+
className="flex-1 bg-primary text-primary-foreground px-3 py-2 rounded-full font-sans text-sm hover:bg-primary/90 transition-colors"
259259
>
260260
Submit
261261
</button>

0 commit comments

Comments
 (0)