WPIntell

Source evidence

Broken Layout

bbPress Voting 路 support 路 2023-03-22T02:18:00+00:00

complaintsentiment
highseverity
0.91relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 34 rows with source links

14.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

29 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Syed Muhammad Usman unresolved
Hi there, I hope you鈥檙e doing well馃槉, thanks for this great plugin. I am having issues with layout, check the attached link. https://www.awesomescreenshot.com/image/38213561?key=c8960e17f051e49e9e9770372d3c5844 Thanks Syed Muhammad Usman The page I need help with: [ log in to see the link] @smusman98 , since my plugin is hooking into bbPress, my layout integration options were kind of limited. The voting buttons are added just before the text of the topic or reply, but given float: left; style to move the voting buttons over to the left, pushing the text to the right. You could fix it by adding some CSS to give all the child elements of the .bbp-reply-content an appropriate amount of left-margin. Besides, that you could probably figure out some advanced CSS magic using flex or grid to manipulate the layout to be the way you want it. I tried putting together a proof of concept solution using flex, but I ran into the problem that you can鈥檛 use flex-direction: column without having a specified height or being inside parent elements with unspecified height. You could also move the hook for the voting buttons using remove_action() and add_action().

Comments

1 shown
natekinkead 2023-03-24T23:31:00+00:00

@smusman98 , since my plugin is hooking into bbPress, my layout integration options were kind of limited. The voting buttons are added just before the text of the topic or reply, but given float: left; style to move the voting buttons over to the left, pushing the text to the right. You could fix it by adding some CSS to give all the child elements of the .bbp-reply-content an appropriate amount of left-margin. Besides, that you could probably figure out some advanced CSS magic using flex or grid to manipulate the layout to be the way you want it. I tried putting together a proof of concept solution using flex, but I ran into the problem that you can鈥檛 use flex-direction: column without having a specified height or being inside parent elements with unspecified height. You could also move the hook for the voting buttons using remove_action() and add_action().