openlab-at-city-tech / webworkqa

WeBWorK integration for WordPress and BuddyPress
GNU General Public License v2.0
4 stars 2 forks source link

subscription icon sometimes overlaps "like" icon/count #97

Closed moui72 closed 7 years ago

moui72 commented 7 years ago

This was originally noted in #70 and was partially fixed with f7128801b0fb770b4269e93dfd4fb2e9d6589d74

I'm still getting overlapping icons in the following context:

Logged out, zoomed in view, question expanded (not collapsed).

http://openlabdev.org/webwork-playground/#:problemId=local/setGeogebra/circle-center-multians-inc/circle-center-multians-inc.pg:questionId=11445

screenshot_2017-08-08-11-13-49

moui72 commented 7 years ago

fix is likely to be along the lines of if ( isSingleProblem && ! isCollapsed ) => if ( userCanPostResponse && isSingleProblem && ! isCollapsed )

https://github.com/livinglab/webwork-for-wordpress/blob/master/src/components/Question.js#L417

boonebgorges commented 7 years ago

Good catch! This should now be resolved.

moui72 commented 7 years ago

once i convinced my browser that I REALLY wanted new versions of the scripts and that the cached versions were yucky, it indeed appears resolved :)