Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 14 years ago

Last modified 9 years ago

#3171 closed enhancement (fixed)

visual alignment of accept/reject friendship buttons

Reported by: djpaul's profile DJPaul Owned by:
Milestone: 1.5 Priority: minor
Severity: Version:
Component: Templates Keywords:
Cc:

Description

When accepting or rejecting a friend request, the order of the buttons is "[ACCEPT] [REJECT]". When clicking either, the other button's visibility is set to 'hidden'. On completion of the AJAX request, the button click is faded out, the html update, and faded back in again.
For the accept button, it then appears as "[ACCEPTED] ]" (note the white space).

This is because the hidden element is set visibility: hidden. I assume this is to prevent the button "jumping" around as soon as it is pressed. When the result button is faded in, the other button should be set to hidden so that there isn't a big gap. I'll attach a screenshot.

Attachments (1)

screen-capture.png (19.5 KB) - added by DJPaul 14 years ago.

Download all attachments as: .zip

Change History (3)

#1 @djpaul
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [4250]) When accepting/rejecting friend request, improve appearance of "accepted" button. Fixes #3171

#2 @DJPaul
9 years ago

  • Component changed from Appearance - Template Parts to Templates
Note: See TracTickets for help on using tickets.