Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hide community row if nsfw content is hidden #1760

Merged
merged 2 commits into from
Jul 12, 2018
Merged

hide community row if nsfw content is hidden #1760

merged 2 commits into from
Jul 12, 2018

Conversation

neb-b
Copy link

@neb-b neb-b commented Jul 12, 2018

I think we should keep the "row" styling somewhat there. Then users know this would be a scrollable row just like the other rows, if they change their settings.

screen shot 2018-07-11 at 9 54 28 pm

@@ -21,7 +21,6 @@
}

.card--small {
width: var(--card-small-width);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this wasn't doing anything.

@lbry-bot lbry-bot assigned neb-b and unassigned neb-b Jul 12, 2018
@@ -283,6 +282,12 @@
&:last-of-type {
padding-bottom: $spacing-vertical * 2/3;
}

// For the message if community top bids are disabled
.card__content.help {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is needed because of the special CSS that happens inside the CategoryList component, that allows content to scroll "off" the side of the edge. That behavior doesn't exist anywhere else in the app.

@neb-b neb-b requested a review from skhameneh July 12, 2018 01:58
@neb-b neb-b removed their assignment Jul 12, 2018
@@ -1,11 +1,11 @@
// @flow
import React from 'react';
import * as React from 'react';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this change?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's needed after adding React.Fragment. Flow acts funny without it.

@lbry-bot lbry-bot assigned neb-b and unassigned neb-b Jul 12, 2018
@neb-b neb-b requested a review from tzarebczan July 12, 2018 02:37
@lbry-bot lbry-bot assigned tzarebczan and unassigned neb-b Jul 12, 2018
@neb-b neb-b removed the request for review from tzarebczan July 12, 2018 02:38
@lbry-bot lbry-bot assigned neb-b and unassigned tzarebczan Jul 12, 2018
@tzarebczan
Copy link
Contributor

This looks good to me and confirmed with Rob that will move trending to top (or 2nd from top) so that Community top bids will be at the bottom. This means we won't have to worry about the weird spacing.

@neb-b neb-b merged commit aea3816 into master Jul 12, 2018
@neb-b neb-b deleted the nsfw-community branch September 10, 2018 19:27
jessopb pushed a commit that referenced this pull request Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants