Skip to content

Commit eee5fc5

Browse files
authored
fix: move the feedback button to the bottom (feature-sliced#723)
1 parent 0e8f6a2 commit eee5fc5

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/app/index.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,8 @@ h6 {
3131
border-radius: var(--ifm-button-border-radius) !important;
3232
}
3333
}
34+
35+
.theme-back-to-top-button {
36+
// The PushFeedback button is positioned in the same place, so we need to move the "back to top" button higher
37+
bottom: 3.5rem !important;
38+
}

src/features/feedback/doc/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export function FeedbackWidget({ projectId }: { projectId: string }) {
5555
rating-stars-placeholder={translate({
5656
id: "features.feedback-doc.rating-stars-placeholder",
5757
})}
58-
button-position="center-right"
58+
button-position="bottom-right"
5959
button-style="dark"
6060
modal-position="bottom-right"
6161
custom-font="true"

0 commit comments

Comments
 (0)